Sorry (Even), false alarm. I have also a ConfigUser.cmake file that has the build type declared there too and apparently it takes precedence to the setting in command line. I have a debug dll now.
... proceeding with the debug.
|>From: PROJ <[hidden email]> On Behalf Of Even Rouault
|>Sent: Friday, June 28, 2019 3:17 PM
|>To: [hidden email] |>Cc: Joaquim Manuel Freire Luís <[hidden email]>
|>Subject: [PROJ] PROJ debug build on Windows ?
|>Anyone knows if there's an issue to build PROJ in debug mode on Windows ?
|>(please keep Joaquim in CC as I'm not sure he's subscribed here)
|>---------- Forwarded Message ----------
|>Subject: RE: [gdal-dev] kml file with line length too long
|>Date: vendredi 28 juin 2019, 14:07:01 CEST
|>From: Joaquim Manuel Freire Luís <[hidden email]>
|>To: Even Rouault <[hidden email]>
|>CC: [hidden email] <[hidden email]>
|>|>Nothing strikes me as obviously wrong (just missing CPLFree() on
|>|>pszWKT and pszProj4, but that's not the cause of your issue).
|>|>You'll have to use your favorite debugging tool: gdb, valgrind ...
|>Hmm, landed in proj_as_wkt() but I'm not being able to build a proj debug. No
|> -DCMAKE_BUILD_TYPE=Debug ^
|> -DCMAKE_CONFIGURATION_TYPES=Debug ^
|>In cmake, I end up with a release build
|>Spatialys - Geospatial professional services http://www.spatialys.com |>_______________________________________________
|>PROJ mailing list
|>[hidden email] |>https://lists.osgeo.org/mailman/listinfo/proj