[gdal-dev] Change name of compiled DLL

Joaquim Manuel Freire Luís jluis at ualg.pt
Thu Jun 29 07:43:47 PDT 2023


Yes, there is. The docs explain that somewhere. Set the variable GDAL_LIB_OUTPUT_NAME

I have this in my ConfigUser.cmake file

set (GDAL_LIB_OUTPUT_NAME gdal_w${BITAGE} CACHE STRING "" FORCE)

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Derek Newhall
Sent: Thursday, June 29, 2023 3:35 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] Change name of compiled DLL

Não costuma receber e-mails de dnewhall at carlsonsw.com<mailto:dnewhall at carlsonsw.com>. Saiba por que motivo isto é importante<https://aka.ms/LearnAboutSenderIdentification>
Hi,

When building GDAL 3.5.1 and earlier with Nmake, the created DLL was named gdal305.dll (or similar). Now with Cmake and 3.7.0 it's just gdal.dll. Is there a way to configure the DLL name?  We're concerned about version clashes with just using the name gdal.dll. I checked the build documentation, but couldn't find a setting for this. I also tried -DOUTPUT_NAME and -DLIBRARY_OUTPUT_NAME (per the CMake documentation) with no success.

Thanks,

Derek Newhall


Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230629/d6cae1f6/attachment.htm>


More information about the gdal-dev mailing list