forked from LORD-MicroStrain/MSCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamroot.jam
25 lines (19 loc) · 784 Bytes
/
Jamroot.jam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Set the path variables
path-constant BUILD_DIR : build ;
path-constant STAGING_DIR : Output ;
path-constant TOP : . ;
#Define the project
project
: requirements <toolset>gcc:<cxxflags>-std=c++11 #Set the requirements for the project (if you are using the gcc toolchain, add the cxxflags)
: build-dir $(BUILD_DIR) #Set the build directory
;
#Alias MSCL (can use /mscl-lib to refer to the MSCL project)
use-project /mscl-lib : MSCL ;
#Build the MSCL_Examples project
build-project MSCL_Examples ;
#Alias stage to "MSCL//stage_all"
alias stage : MSCL//stage_all ;
#Make the user explicitly tell bjam to build the stage alias
explicit stage ;
alias stage_dynamic : MSCL//stage_python_dynamic MSCL//stage_c++ MSCL//stage_headers ;
explicit stage_dynamic ;