aboutsummaryrefslogtreecommitdiff
path: root/src/bin_geodtest.cmake
diff options
context:
space:
mode:
authorCharles Karney <ckarney@karney.com>2016-02-15 18:24:34 -0500
committerCharles Karney <ckarney@karney.com>2016-02-15 18:24:34 -0500
commit16df65976714747f2ab5fb73a47327970ccd723f (patch)
tree834e9299b27426fa3e53a75ca195df1189fdf997 /src/bin_geodtest.cmake
parenta12bfb7c207449c9768fa7591684a0240d2e6898 (diff)
downloadPROJ-16df65976714747f2ab5fb73a47327970ccd723f.tar.gz
PROJ-16df65976714747f2ab5fb73a47327970ccd723f.zip
Upgrade geodesic library from GeographicLib 1.46.
* upgrade geodesic.[ch3] * add test suite geodtest.c and invoke via cmake's add_test * increment version to 4.9.3 and library version to 11.0.0
Diffstat (limited to 'src/bin_geodtest.cmake')
-rw-r--r--src/bin_geodtest.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bin_geodtest.cmake b/src/bin_geodtest.cmake
new file mode 100644
index 00000000..1604385c
--- /dev/null
+++ b/src/bin_geodtest.cmake
@@ -0,0 +1,12 @@
+set(GEODTEST_SRC geodtest.c )
+set(GEODTEST_INCLUDE geod_interface.h)
+
+source_group("Source Files\\Bin" FILES ${GEODTEST_SRC} ${GEODTEST_INCLUDE})
+
+#Executable
+add_executable(geodtest ${GEODTEST_SRC} ${GEODTEST_INCLUDE})
+target_link_libraries(geodtest ${PROJ_LIBRARIES})
+# Do not install
+
+# Instead run as a test
+add_test (NAME geodesic-test COMMAND geodtest)