30 lines
1.1 KiB
JSON
30 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": ["boost-build", "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",
|
|
"(cd boost_1_68_0/tools/build/src/engine && ./build.sh)",
|
|
"cd simulation",
|
|
"echo \"using darwin : : ccache clang++ : <cxxflags>-std=c++11 ;\" > ~/user-config.jam",
|
|
"BOOST_ROOT=${PWD}/../boost_1_68_0 ../boost_1_68_0/tools/build/src/engine/bin.macosxx86_64/bjam --hash -j${PARALLEL}"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|