[gdal-dev] /MD vs /MDd for DEBUG MSVC builds
szekerest at gmail.com
Mon Oct 16 15:30:54 PDT 2017
I'd like to see /Od in addition to the /Zi and /MD etc. with the
setting. By this means it's not the same as RelWithDebInfo which uses /O2
as far as I remember, which was the only setting that I always have to
change with the cmake builds to make it usable for debugging purposes.
2017-10-16 23:55 GMT+02:00 Even Rouault <even.rouault at spatialys.com>:
> > That would not be equivalent to CMake RelWithDebugInfo, which is is
> > self-descriptive. Here is explanation from
> > https://cmake.org/pipermail/cmake/2001-October/002479.html
> > "The difference between Debug and RelwithDebInfo is that RelwithDebInfo
> > quite similar to Release mode. It produces fully optimised code, but also
> > builds the program database, and inserts debug line information..."
> > Or, I'm m being unclear about use of /DEBUG
> I didn't check CMake semantics. Hum, then what about calling it
> DEBUG_WITH_RELEASE_CRT=1 ?
> Spatialys - Geospatial professional services
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev