List Info

Thread: Linking to different libs based on variant




Linking to different libs based on variant
user name
2006-11-30 09:32:16
Hello all,

Say I have the following:

lib someLib
	:
	:
		<name>theLib_release <search>/usr/libs/release
	;

exe hello
	:
		hello.cpp
		/someLib
	:
	;


How can I link to this when <variant>release BUT when
<variant>debug

+ search in a different path (e.g. /usr/libs/debug) 
+ link to a different lib (e.g. theLib_debug)


If there is an example of this in
http://boost.sourceforge.net/boost-build2/doc/html/
index.html
please just point me to the right chapter/link

Thx in advance,
Kos
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )