From 41aea5682bfe42388e39b6eea171c7884b65bbfa Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Mon, 12 Aug 2024 17:21:37 +0200 Subject: [PATCH] Add GTA Run Settings --- Makefile.am | 1 + cmake/shapelib.gta.runsettings.in | 10 ++++++++++ tests/CMakeLists.txt | 6 ++++++ 3 files changed, 17 insertions(+) create mode 100644 cmake/shapelib.gta.runsettings.in diff --git a/Makefile.am b/Makefile.am index 0229a10..817b71c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,7 @@ EXTRA_DIST = makefile.vc CMakeLists.txt autogen.sh \ cmake/contrib.cmake \ cmake/project-config-version.cmake.in \ cmake/project-config.cmake.in \ + cmake/shapelib.gta.runsettings.in \ cmake/shapelib.pc.cmake.in \ tests/CMakeLists.txt \ tests/dbf_test.cc \ diff --git a/cmake/shapelib.gta.runsettings.in b/cmake/shapelib.gta.runsettings.in new file mode 100644 index 0000000..1487c0a --- /dev/null +++ b/cmake/shapelib.gta.runsettings.in @@ -0,0 +1,10 @@ + + + + + + @PROJECT_SOURCE_DIR@ + + + + \ No newline at end of file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e7d5f48..3b6f29d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -33,3 +33,9 @@ foreach(executable dbf_test sbn_test shp_test) target_compile_features(${executable} PUBLIC cxx_std_17) set_target_properties(${executable} PROPERTIES FOLDER "tests" CXX_EXTENSIONS OFF) endforeach() + +configure_file( + ${CMAKE_SOURCE_DIR}/cmake/shapelib.gta.runsettings.in + ${CMAKE_BINARY_DIR}/shapelib.gta.runsettings + @ONLY +)