[geos-commits] [SCM] GEOS branch main updated. 09ca93a58195d690e3b764a6373d3ba723623acc
git at osgeo.org
git at osgeo.org
Wed Jun 4 23:19:41 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".
The branch, main has been updated
via 09ca93a58195d690e3b764a6373d3ba723623acc (commit)
from 1ae8b36bf61933ed20456da4e5356d239251dc8a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 09ca93a58195d690e3b764a6373d3ba723623acc
Author: Daniel Baston <dbaston at gmail.com>
Date: Thu Jun 5 02:19:20 2025 -0400
CMake: Create targets file in build tree (#1269)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 364952522..f0820f2c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -419,6 +419,14 @@ if(PROJECT_IS_TOP_LEVEL AND BUILD_WEBSITE)
add_subdirectory(web)
endif()
+#-----------------------------------------------------------------------------
+# Generate targets file for importing directly from GEOS build tree
+#-----------------------------------------------------------------------------
+
+export(TARGETS geos geos_c geos_cxx_flags geos_developer_cxx_flags
+ NAMESPACE GEOS::
+ FILE "geos-targets.cmake")
+
#-----------------------------------------------------------------------------
# Install and export targets - support 'make install' or equivalent
#-----------------------------------------------------------------------------
diff --git a/NEWS.md b/NEWS.md
index 986892d36..0fb4f8e34 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -5,6 +5,8 @@
- Add clustering functions to C API (GH-1154, Dan Baston)
- Ported LineDissolver (Paul Ramsey)
- Ported CoverageCleaner (Paul Ramsey)
+ - Add "geos-targets.cmake" to build tree to allow building other software against
+ GEOS build without installing first (GH-1269, Dan Baston)
- Breaking Changes:
- Stricter WKT parsing (GH-1241, @freemine)
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 8 ++++++++
NEWS.md | 2 ++
2 files changed, 10 insertions(+)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list