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 <[email protected]>:

> >
> > 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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to