2018-08-08 15:51:41 -04:00
|
|
|
cd TeaSpeak
|
|
|
|
if [ -d build ]; then
|
|
|
|
rm -r build
|
|
|
|
fi
|
|
|
|
mkdir build && cd build
|
|
|
|
|
2018-08-09 05:58:50 -04:00
|
|
|
cmake .. -DCMAKE_CXX_FLAGS="-I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/ -D_GLIBCXX_USE_CXX11_ABI=1" -DDISABLE_CUSTOM_OUTPUT=ON
|
2018-08-09 06:20:42 -04:00
|
|
|
cmake --build `pwd` --target ProviderFFMpeg -- -j 12
|
|
|
|
cmake --build `pwd` --target ProviderYT -- -j 12
|
|
|
|
cmake --build `pwd` --target TeaSpeakServer -- -j 12
|
2018-08-09 06:38:44 -04:00
|
|
|
|
|
|
|
${CXX_FLAGS}
|
|
|
|
${C_FLAGS}
|
|
|
|
|
|
|
|
#CMake specific
|
|
|
|
${CMAKE_OPTIONS}
|
|
|
|
${CMAKE_MAKE_OPTIONS}
|
|
|
|
|
|
|
|
#Make specific (without cmake)
|
|
|
|
${MAKE_OPTIONS}
|
|
|
|
|
|
|
|
|
|
|
|
CXXFLAGS="${CXX_FLAGS}" CFLAGS="${C_FLAGS}"
|
|
|
|
CXXFLAGS="${CXX_FLAGS}" CFLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
|