-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjamroot
More file actions
43 lines (35 loc) · 745 Bytes
/
jamroot
File metadata and controls
43 lines (35 loc) · 745 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
42
43
path-constant pmpmesh-prj-dir : . ;
path-constant pmpmesh-prj-headers-dir : $(pmpmesh-prj-dir)/include ;
path-constant pmpmesh-prj-src-dir : $(pmpmesh-prj-dir)/src ;
argv = [ modules.peek : ARGV ] ;
if [ MATCH ^(cleanall)$ : $(argv) ]
{
echo "cleanall ..." ;
cmd = "rm -rf `find $(pmpmesh-prj-dir) -name bin`" ;
echo $(cmd) ;
SHELL $(cmd) ;
exit ;
}
echo "Build pmpmesh ..." ;
constant
pmpmesh-prj-headers
:
pmpmesh/pmpmesh.hpp
;
#|
msvc untest:
/EHsc /wd\"4996\" /W3 /fp:fast /WX- /Zc:inline /Gm /errorReport:prompt
/O1 /Ot /MP
|#
common-cppflags = -Wall -O1 -march=native ;
project
pmpmesh
:
requirements
<include>$(pmpmesh-prj-headers-dir)
<cxxflags>$(common-cppflags)
:
default-build
<cxxstd>26
;
build-project src ;