Created
September 6, 2021 14:22
-
-
Save edg-l/afee07f05a3c8366aecec448094c41e2 to your computer and use it in GitHub Desktop.
my build script for developing ddnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf build | |
mkdir -p build | |
cd build | |
export CC=/usr/bin/clang | |
export CXX=/usr/bin/clang++ | |
cmake .. -GNinja -DMYSQL=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ | |
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DVIDEORECORDER=ON -DDOWNLOAD_GTEST=ON \ | |
-D_CMAKE_TOOLCHAIN_PREFIX=llvm- | |
ninja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment