forked from cierelabs/json_spirit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamroot
35 lines (29 loc) · 852 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
#
# Copyright (C) 2012 - 2013 ciere consulting, ciere.com
# Copyright (C) 2010, 2011 Object Modeling Designs
#
# 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>-ftemplate-depth=300
<toolset>darwin:<cxxflags>-ftemplate-depth=300
<toolset>gcc:<cxxflags>-std=c++0x
<toolset>clang:<cxxflags>-std=c++11
<toolset>msvc:<cxxflags>/wd4996
<define>BOOST_SPIRIT_USE_PHOENIX_V3=1
<use>/boost//headers
<include>.
;
lib json
: [ glob libs/json/src/*.cpp ]
: <toolset>msvc:<link>static
;
build-project libs/json/test ;