Menu

The generated build's configuration

Help
2009-04-20
2013-04-11
  • Roger I Martin

    Roger I Martin - 2009-04-20

    When I build with the nicely provided make system after running scompxx on an xsd, it build with compiler flags set to "-g -O2".  Yet I haven't been able to grep or find where these flags come from.  I want to be able to compile in Debug and Release configurations; debug with the -g and release with -O3.  Where to look?

     
    • stawel

      stawel - 2009-04-20

      The simplest way is to export the CXXFLAGS environment variable:
      $ export CXXFLAGS='-g -O3'
      $ scompxx example.xsd

      Best Regards
      Paweł Stawicki

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.