[gdal-dev] Building GDAL on Windows 32 and 64 bit
alexhighviz at hotmail.com
Fri May 27 04:56:54 PDT 2016
>> Is there a convention about where to place and how to name the win32 and
>> libraries and include directories when building for both platforms on
>> Especially, I would like CMake's FindGDAL
>> (https://cmake.org/cmake/help/v3.0/module/FindGDAL.html) to be able to
>> the correct paths automatically.
> [Dmitry Baryshnikov]
>It seems to me there is no standard install path on Windows, so search
>GDAL is tricky.
>CMake can register package in registry and so find GDAL, but GDAL have
>to be CMaked too.
>You may try our CMake GDAL (https://github.com/nextgis-borsch/lib_gdal).
>In your project only need to add find_anyproject(GDAL), see -
>GDAL will be downloaded, build and linked with your project.
Thanks, that looks very useful and addresses a major headache. I am a bit reluctant to include further dependencies and straying from the 'official' GDAL repository and processes.
Is there any chance that your efforts will make it to a future GDAL release?
More information about the gdal-dev