forked from pulver/autodiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamfile
31 lines (27 loc) · 1.19 KB
/
Jamfile
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
# Boost.Autodiff
#
# Copyright (c) 2018-2019 Matthew Pulver
#
# Use, modification and distribution is subject to 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 common ;
import modules ;
local BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
project autodiff
: requirements
<toolset>msvc:<exception-handling>on
<toolset>msvc:<asynch-exceptions>off
<toolset>msvc:<extern-c-nothrow>on
<toolset>msvc:<cxxflags>/bigobj
<toolset>msvc-14.1:<cxxflags>/permissive-
<toolset>msvc-14.2:<cxxflags>/permissive-
<toolset>msvc:<cxxflags>/wd4244
<toolset>msvc:<cxxflags>/wd4305
<toolset>msvc:<cxxflags>/wd4701
<toolset>msvc:<warnings>all
<toolset>clang:<cxxflags>"-Wall -pedantic -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-header-hygiene -Wno-used-but-marked-unused -Wno-global-constructors -Wno-disabled-macro-expansion --system-header-prefix=$(BOOST_ROOT) --no-system-header-prefix=$(BOOST_ROOT)/libs/$(SELF)"
<target-os>linux,<toolset>gcc:<cxxflags>"-Wall -Wextra -pedantic -I$(BOOST_ROOT)/libs/$(SELF) -isystem $(BOOST_ROOT)"
;
build-project test ;
build-project example ;