Hi Victor,
On Thursday 09 July 2009 13:06:11 Gaydov Victor wrote:
> hello!my jamfile contains something like this:
>
> project myproj : requirements <variant>debug:<define>_GLIBCXX_DEBUG ;
>
> use-project /boost : $(BOOST_PATH) ;
> exe main : ...... /boost//program_options ;
>
> the problem is that i can't pass '<define>_GLIBCXX_DEBUG' to /boost
> project. is there a way to do it ?
No, unfortunately not.
I usually use a custom variant for this:
variant cxxdebug : <optimization>off
<debug-symbols>on
<inlining>off
<runtime-debugging>on
<define>_GLIBCXX_DEBUG ;
Just put this in user-config.jam (or maybe site-config.jam or your Jamroot)
and then call bjam cxxdebug.
This will (re-)build everything with the correct settings...
Yours,
Jürgen
--
* Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für
* voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH
* fax : ++49 511 262926 99 ! Lister Straße 15
*
juergen.hunold@... ! www.ivembh.de
*
* Geschäftsführer: ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke !
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build