-
Notifications
You must be signed in to change notification settings - Fork 5
/
Jamroot
36 lines (30 loc) · 867 Bytes
/
Jamroot
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
#
# Copyright (C) 2015 Michael Caisse, ciere.com
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
import os ;
local BOOST_ROOT = [ os.environ BOOST_ROOT ] ;
if $(BOOST_ROOT)
{
use-project /boost : $(BOOST_ROOT) ;
}
project
: requirements
<toolset>gcc:<cxxflags>-std=c++14
<toolset>gcc:<cxxflags>-ftemplate-depth-512
<toolset>clang:<cxxflags>-std=c++1y
<toolset>clang:<cxxflags>-ftemplate-depth-512
<toolset>darwin:<cxxflags>-std=c++14
<toolset>darwin:<cxxflags>-ftemplate-depth-512
<toolset>darwin:<cxxflags>-ftemplate-depth-512
<define>BOOST_SPIRIT_USE_PHOENIX_V3=1
<use>/boost//headers
<include>.
<include>./fun
;
lib fun
: [ glob src/*.cpp ]
;
build-project test ;