Debian Codegraph @

3rdparty/catch2/tools/scripts/buildAndTest.cmd

raw
1 rem Start at the root of the Catch project directory, for example:
2 rem cd Catch2
3
4 rem begin-snippet: catch2-build-and-test-win
5 rem 1. Regenerate the amalgamated distribution
6 python tools\scripts\generateAmalgamatedFiles.py
7
8 rem 2. Configure the full test build
9 cmake -B debug-build -S . -DCMAKE_BUILD_TYPE=Debug --preset all-tests
10
11 rem 3. Run the actual build
12 cmake --build debug-build
13
14 rem 4. Run the tests using CTest
15 cd debug-build
16 ctest -j 4 --output-on-failure -C Debug
17 rem end-snippet