Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tools/scripts/buildAndTest.cmd
diff options
context:
space:
mode:
authorMartin Hořeňovský2023-02-22 20:11:00 +0100
committerMartin Hořeňovský2023-02-22 20:11:45 +0100
commita209bcfb54f493dc199baf315bd468491a0ceccd (patch)
tree616f626e9f3083b7efa6ca8dd14c3267357f0127 /tools/scripts/buildAndTest.cmd
parent584973a485160bea0feb8764c28bb65d03b988ac (diff)
downloadcatch3-a209bcfb54f493dc199baf315bd468491a0ceccd.tar.gz
Update build instructions in contributing.md
We now show the more modern `-S {source}` instead of the old and undocumented `-H{source}` CMake flag, and also show the available presets, instead of individually specifying the different testing options. Closes #2593
Diffstat (limited to 'tools/scripts/buildAndTest.cmd')
-rw-r--r--tools/scripts/buildAndTest.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/buildAndTest.cmd b/tools/scripts/buildAndTest.cmd
index e5222a01..7c10e564 100644
--- a/tools/scripts/buildAndTest.cmd
+++ b/tools/scripts/buildAndTest.cmd
@@ -6,7 +6,7 @@ rem 1. Regenerate the amalgamated distribution
python tools\scripts\generateAmalgamatedFiles.py
rem 2. Configure the full test build
-cmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_DEVELOPMENT_BUILD=ON -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON -DCATCH_ENABLE_CONFIGURE_TESTS=ON
+cmake -B debug-build -S . -DCMAKE_BUILD_TYPE=Debug --preset all-tests
rem 3. Run the actual build
cmake --build debug-build