2017-10-25 10:27:01 +02:00
|
|
|
{
|
|
|
|
"submodules": ["simulation/libsimulator"],
|
|
|
|
"targets": {
|
|
|
|
"x86_64": {
|
|
|
|
"buildenv": "xenial-amd64",
|
|
|
|
"builddeps": ["build-essential", "libssl-dev", "libboost-all-dev", "ccache"],
|
|
|
|
"buildcmd": [
|
|
|
|
"echo \"using gcc : : ccache g++ : <cxxflags>-std=c++11 ;\" > ~/user-config.jam",
|
|
|
|
"cd simulation",
|
|
|
|
"bjam -j${PARALLEL} deprecated-functions=off",
|
|
|
|
"cd test",
|
|
|
|
"bjam -j${PARALLEL} deprecated-functions=off"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"macOS": {
|
|
|
|
"buildenv": "osx",
|
|
|
|
"homebrew": { "formulae": ["boost-build", "wget", "ccache"] },
|
|
|
|
"buildcmd": [
|
2018-07-29 09:01:46 +02:00
|
|
|
"wget --quiet -O boost.zip https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.zip",
|
2017-10-25 10:27:01 +02:00
|
|
|
"unzip -qq boost.zip",
|
2018-07-29 09:01:46 +02:00
|
|
|
"cd boost_1_67_0/tools/build/engine",
|
|
|
|
"./build.sh",
|
|
|
|
"cd ../../../../simulation",
|
2017-10-25 10:27:01 +02:00
|
|
|
"echo \"using darwin : : ccache clang++ : <cxxflags>-std=c++11 ;\" > ~/user-config.jam",
|
2018-07-29 09:01:46 +02:00
|
|
|
"BOOST_ROOT=${PWD}/../boost_1_67_0 ../boost_1_67_0/tools/build/engine/bin.macosx64/bjam --hash -j${PARALLEL}"
|
2017-10-25 10:27:01 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|