I built GDAL in both Debug and Release.
<div><br></div><div>The default behavior is to create .pdb files in Debug, but not in Release.</div><div><br></div><div>I would like to get a pdb file in Release build as well, is it possible ?</div><div><br></div><div>The only lines I see that have to do with pdb, are:</div>
<div><br></div><div><div>!IFNDEF DEBUG</div><div>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</div>
<div>!ELSE</div><div>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</div><div>!ENDIF</div></div>
<div><br></div><div>It is not apparent to me how to get pdb files to be created, based on this.</div><div><br></div><div>Thank you.</div>