-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only allow --record and --replay for DEBUG/COVERAGE build
- Loading branch information
Showing
3 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
# This is just a wrapper of cmake | ||
|
||
debug: | ||
cmake -S . -B build -DCMAKE_BUILD_TYPE=DEBUG && cmake --build build | ||
CC=clang CXX=clang++ cmake -S . -B build -DCMAKE_BUILD_TYPE=DEBUG && cmake --build build | ||
gcc: | ||
CC=gcc CXX=g++ cmake -S . -B gcc-build -DCMAKE_BUILD_TYPE=DEBUG && cmake --build gcc-build | ||
CC=gcc CXX=g++ cmake -S . -B gcc-build -DCMAKE_BUILD_TYPE=RELEASE && cmake --build gcc-build | ||
coverage: | ||
cmake -S . -B coverage-build -DCMAKE_BUILD_TYPE=COVERAGE && cmake --build coverage-build | ||
release: | ||
cmake -S . -B release-build -DCMAKE_BUILD_TYPE=RELEASE && cmake --build release-build | ||
CC=clang CXX=clang++ cmake -S . -B coverage-build -DCMAKE_BUILD_TYPE=COVERAGE && cmake --build coverage-build | ||
emscripten: | ||
emcmake cmake -S . -B emscripten-build -DPLATFORM=Web && cmake --build emscripten-build | ||
|
||
all: debug release emscripten | ||
all: debug gcc coverage emscripten |
This file contains 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