To make OS-specific builds
using the same bjam script, I see two ways to refer to ThirdParty (TP) lib
names and their paths:
- Define every TP lib as TP_WIN_lib
and TP_LINUX_lib and refer to the OS-specific libs in the Jamfiles as something
- Define only one var (TP_lib) in
user-config.jam. So, this would obviously differ in the two OS’s (say,
TP_WIN.lib on Win and TP_LINUX.a on Linux). However, the Jamfile just
refers to TP_lib.
The paths could be say, c:\win\dir on Win and
/usr/lib/blah on Linux.
Is option 2 considered better? Is there another option better
Thanks so much,