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-boun...@lists.osgeo.org> On Behalf Of Derek Newhall
Sent: Thursday, June 29, 2023 3:35 PM
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] Change name of compiled DLL

Não costuma receber e-mails de 
dnewh...@carlsonsw.com<mailto:dnewh...@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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to