-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjamroot.jam
More file actions
42 lines (30 loc) · 848 Bytes
/
jamroot.jam
File metadata and controls
42 lines (30 loc) · 848 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# jamroot for RWK1 project
# imports
import ./tools/default-install ;
import type ;
import os ;
# register .C files for ROOT macros
type.register-suffixes C : CPP ;
# change the suffix from dylib to so on MACOSX
type.change-generated-target-suffix SHARED_LIB : <target-os>darwin : so ;
# path to project
path-constant BUDD : ./ ;
# build directory
path-constant build-dir : ./bin/temp ;
# install exe directory
path-constant install-dir : ./bin ;
# install lib directory
path-constant install-lib : ./lib ;
# define the project
project budd
: build-dir
$(build-dir)
: default-build release
;
set-install-dir $(install-dir) ;
# -----------------------------#
# External Sources and programs
# -----------------------------#
# BOOST
local boost_current = [ os.environ BOOST_CURRENT ] ;
use-project /boost : $(boost_current) ;