geos
geos copied to clipboard
Use set_target_properties to set output attrs
Use set_target_properties
to set LIBRARY_OUTPUT_DIRECTORY
, ARCHIVE_OUTPUT_DIRECTORY
and RUNTIME_OUTPUT_DIRECTORY
, in this way, geos will not interfere output settings of users' project.
Is there a way to apply this to all of our targets without copy-paste? (benchmarks, tests, etc.)
Is there a way to apply this to all of our targets without copy-paste?
For PDAL we have macros that roll up all of these kind of settings for the different categories of targets. See https://github.com/PDAL/PDAL/blob/master/cmake/macros.cmake for inspiration.
Is there a way to apply this to all of our targets without copy-paste? (benchmarks, tests, etc.)
I think it can be achived by put all targets into a variable. Maybe there's a better way.
I think it can be achived by put all targets into a variable. Maybe there's a better way.
I have done that. And I've added geos
and geos_c
.
If you rebase to main do we get a green CI?
If you rebase to main do we get a green CI?
I've done that.
This PR addresses geos_c
and geos
but we have many more targets for benchmarks, tests, and utilities (geosop). I would prefer not to have all of these moved.
We can add more targets into it.