<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    The pdb file is generated by the /Zi flag. Add that to the list of
    flags in your release build.<br>
    <br>
    On 5/14/2013 10:55 AM, Mihaela Gaspar wrote:
    <blockquote type="cite">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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>