aboutsummaryrefslogtreecommitdiff
path: root/src/bin_geodtest.cmake
diff options
context:
space:
mode:
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..b89f75be
--- /dev/null
+++ b/src/bin_geodtest.cmake
@@ -0,0 +1,12 @@
+set(GEODTEST_SRC geodtest.c )
+set(GEODTEST_INCLUDE)
+
+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)