The pdb file is generated by the /Zi flag. Add that to the list of
flags in your release build.
On 5/14/2013 10:55 AM, Mihaela Gaspar wrote:
I built GDAL in both Debug and Release.
The default behavior is to create .pdb files in Debug, but
not in Release.
I would like to get a pdb file in Release build as well, is
it possible ?
The only lines I see that have to do with pdb, are:
!IFNDEF DEBUG
OPTFLAGS= $(CXX_ANALYZE_FLAGS) /nologo /MT /EHsc /Ox
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
/DNDEBUG /Fd$(LIBDIR)\gdal$(VERSION).pdb
/ITERATOR_DEBUG_LEVEL=0
!ELSE
OPTFLAGS= $(CXX_ANALYZE_FLAGS) /nologo /MTd /EHsc /Zi
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
/Fd$(LIBDIR)\gdal$(VERSION).pdb /DDEBUG
/ITERATOR_DEBUG_LEVEL=2
!ENDIF
It is not apparent to me how to get pdb files to be created,
based on this.
Thank you.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
|
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev