Server-Root/libraries/build_yaml.sh
2018-08-09 09:59:25 +00:00

5 lines
218 B
Bash
Executable File

cd yaml-cpp/build/
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
make -j 12 CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -fPIC"
sudo make install