Server-Root/libraries/build_yaml.sh

5 lines
301 B
Bash
Raw Normal View History

2018-08-08 10:21:32 -04:00
cd yaml-cpp/build/
2018-08-09 06:38:44 -04:00
cmake .. -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 -fPIC ${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
make ${CMAKE_MAKE_OPTIONS}
2018-08-08 15:51:41 -04:00
sudo make install