Server-Root/libraries/build_yaml.sh
2018-08-08 19:51:41 +00:00

5 lines
217 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 CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -fPIC"
sudo make install