Subject: [Boost-build] bjam - win/linux
From: Anant Rao (arao_at_[hidden])
Date: 2009-12-03 17:10:06
To make OS-specific builds using the same bjam script, I see two ways to refer to ThirdParty (TP) lib names and their paths:
1. Define every TP lib as TP_WIN_lib and TP_LINUX_lib and refer to the OS-specific libs in the Jamfiles as something like this:
1. 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 than both?
Thanks so much,
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk