[PROJ] Is there a cmake way to change the library name?

Carl Godkin cgodkin at gmail.com
Sun Jun 23 22:23:53 PDT 2024


Hi,

We use PROJ 9.3.1 in our software.

I built it with cmake using curl and libtiff for Windows 64.

I also needed to build a minimal version to be used in a plugin to another
application where I cannot use curl and I've done that successfully.

But both DLLs (i.e., the "regular" one and the "minimal" one) are named
"proj_9_3.dll"

I would love to change the DLL name of one of them but I don't see a cmake
variable for doing that.  I am not a cmake expert by any means, so perhaps
I missed something.

I imagine I could get into the generated makefiles for my minimal version
but editing cmake-generated makefiles is not really a sustainable solution.

Is there a way to specify the DLL name?

I have the same question for GDAL but figured I'd start with the
simpler-to-build PROJ library.

Thanks a lot,

carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20240623/56bf38d4/attachment.htm>


More information about the PROJ mailing list