Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
brinkqiang committed Dec 14, 2024
1 parent bd6d413 commit e259bda
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build_win.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

rm -rf build
mkdir -p build

# pushd build
cd build

# -DCMAKE_EXPORT_COMPILE_COMMANDS=ON option is implemented only by Makefile Generators and Ninja Generators.
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
cmake --build . --config relwithdebinfo -- /m:%NUMBER_OF_PROCESSORS%

# popd
cd ..

# echo continue && read -n 1

0 comments on commit e259bda

Please sign in to comment.