[gdal-dev] Is it possible to build pdb files in Release ?

Mihaela Gaspar mihaela.gaspar at urbanrobotics.net
Tue May 14 13:23:06 PDT 2013


Thank you, it's perfect.

On Tue, May 14, 2013 at 12:41 PM, David Strip <gdal at stripfamily.net> wrote:

>  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 listgdal-dev at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>


-- 


*Mihaela Gaspar*

*Urban Robotics Inc.**
*Software Engineer

33 NW First Avenue, Suite 200 | Portland, OR 97209

c: 971-269-9649

mihaela.gaspar at urbanrobotics.net
http://www.urbanrobotics.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130514/9514f524/attachment.html>


More information about the gdal-dev mailing list