[gdal-dev] RFC 84: Migrating build systems to CMake

Greg Troxel gdt at lexort.com
Tue Oct 5 06:10:56 PDT 2021


Javier Jimenez Shaw <j1 at jimenezshaw.com> writes:

> How would CMake behave with all those options that are defined depending on
> what is present on the compiler machine?
>
> IMHO, the libraries included should be independent on what is already
> installed on the compiler machine. The last time something/somebody
> included "zstd" in our compiler machine, and not in the executing machine,
> and we couldn't run anything. We did not need zstd, but it was there,
> breaking the execution. I know that the solution there is disable it
> "--without-zstd". What I do not like is the lack of definition, because
> what is present on the compiler machine may change.

I agree that is is best for a build to hard-require what is required and
decline to use things that are not required.   I don't think this issue
is any different autoconf vs cmake.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211005/cf2296d6/attachment.sig>


More information about the gdal-dev mailing list