aboutsummaryrefslogtreecommitdiff
path: root/src/apps/bin_gie.cmake
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-02-14 22:07:34 +1300
committerGitHub <noreply@github.com>2022-02-14 22:07:34 +1300
commitcb35cb17ace5d16c63d700378d78e0b057531e25 (patch)
tree22effa82d30e6fb10d655b832065eeb8086b9015 /src/apps/bin_gie.cmake
parent6bc988593357c2c5d47e98db6ee7e2a394113052 (diff)
downloadPROJ-cb35cb17ace5d16c63d700378d78e0b057531e25.tar.gz
PROJ-cb35cb17ace5d16c63d700378d78e0b057531e25.zip
CMake: split configuration files for apps and tests (#3048)
Diffstat (limited to 'src/apps/bin_gie.cmake')
-rw-r--r--src/apps/bin_gie.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/apps/bin_gie.cmake b/src/apps/bin_gie.cmake
new file mode 100644
index 00000000..8e2d2278
--- /dev/null
+++ b/src/apps/bin_gie.cmake
@@ -0,0 +1,16 @@
+set(GIE_SRC
+ gie.cpp
+ proj_strtod.cpp
+ proj_strtod.h
+)
+set(GIE_INCLUDE optargpm.h)
+
+source_group("Source Files\\Bin" FILES ${GIE_SRC})
+
+add_executable(gie ${GIE_SRC} ${GIE_INCLUDE})
+target_link_libraries(gie PRIVATE ${PROJ_LIBRARIES})
+
+if(BUILD_GIE)
+ install(TARGETS gie
+ DESTINATION ${BINDIR})
+endif()