31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"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": ["wget", "ccache"] },
|
|
"buildcmd": [
|
|
"wget --quiet -O boost.zip https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.zip",
|
|
"unzip -qq boost.zip",
|
|
"rm boost.zip",
|
|
"(cd boost_1_68_0/tools/build/src/engine && ./build.sh)",
|
|
"echo \"using darwin : : ccache clang++ : <cxxflags>-std=c++11 ;\" > ~/user-config.jam",
|
|
"cd simulation",
|
|
"BOOST_ROOT=${PWD}/../boost_1_68_0 ../boost_1_68_0/tools/build/src/engine/bin.macosxx86_64/bjam --hash -j${PARALLEL}"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|