aboutsummaryrefslogtreecommitdiff
path: root/src/tests/bin_geodtest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/bin_geodtest.cmake')
-rw-r--r--src/tests/bin_geodtest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/bin_geodtest.cmake b/src/tests/bin_geodtest.cmake
new file mode 100644
index 00000000..f0c26f3b
--- /dev/null
+++ b/src/tests/bin_geodtest.cmake
@@ -0,0 +1,10 @@
+set(GEODTEST_SRC geodtest.cpp)
+set(GEODTEST_INCLUDE)
+
+source_group("Source Files\\Bin" FILES ${GEODTEST_SRC} ${GEODTEST_INCLUDE})
+
+add_executable(geodtest ${GEODTEST_SRC} ${GEODTEST_INCLUDE})
+target_link_libraries(geodtest PRIVATE ${PROJ_LIBRARIES})
+
+# Do not install, instead run as a test
+add_test(NAME geodesic-test COMMAND geodtest)