[gdal-dev] /MD vs /MDd for DEBUG MSVC builds
Tamas Szekeres
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
DEBUG_WITH_RELEASE_CRT
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.
Best regards,
Tamas
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
> pretty
> > self-descriptive. Here is explanation from
> > https://cmake.org/pipermail/cmake/2001-October/002479.html
> >
> >
> > "The difference between Debug and RelwithDebInfo is that RelwithDebInfo
> is
> > 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
> http://www.spatialys.com
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171017/96040cc6/attachment.html>
More information about the gdal-dev
mailing list