Hi All,
I have a few bjam questions - if anyone could give me some pointers,
that would be very much appriciated ...
1) local/global define
lib my_odbc
: [ obj a : a.cpp ]
[ obj b : b.cpp ]
:<define>ODBC
;
the define is not local so it is not used when compiling, I dont like
having to set the define on both objs - is it possible to set it once?
2) alias
I have 2 targets that are 90% alike, the only difference is they link
to 1 different library. Now I specify 2 targets which are basically
copies. Is it possible to define a general target once and specialize
it for the actual case:
exe base : main.cpp lib-general ;
alias exe-a : base lib-a ;
alias exe-b : base lib-b ;
At the moment base is compiled/linked, this fails because some of the
symbols is in either lib_a or lib_b
3) os detection
The property <os>NT is defined, this is the only value allowed.
However, I'd like
exe my_exe : main.cpp : <os>NT <define>GREAT ;
exe my_exe : main.cpp : <os>LINUX <define>BETTER ;
Can I do this?
4) stage rename
I could'nt find this one:
stage deliver : exe_a : <location>a <rename>base ;
In other words, I'd like to give a name to an install target on
installation.
Regards, Dirk Griffioen
--
CodeShop BV
Wenckebachweg 150-B
1096 AB Amsterdam
www.code-shop.com
+31 6 411 92 024