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

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorClare Macrae2020-10-23 19:50:49 +0100
committerMartin Hořeňovský2020-10-28 11:38:06 +0100
commit40b9df567f2a9ff09e3938bf2005413640eace9f (patch)
tree1b45d828ede877009ac8c2e1bf405d9df252a465
parentc6352c3e1f63725ca39e48ee3fd79e47e5ecae76 (diff)
downloadcatch3-40b9df567f2a9ff09e3938bf2005413640eace9f.tar.gz
Add missing cmake option to fix buildAndTest.sh
Note that the documentation was updated automatically, by running: ./tools/scripts/updateDocumentSnippets.py
-rw-r--r--docs/contributing.md2
-rwxr-xr-xtools/scripts/buildAndTest.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/contributing.md b/docs/contributing.md
index 1d3143fb..ddf8dea2 100644
--- a/docs/contributing.md
+++ b/docs/contributing.md
@@ -85,7 +85,7 @@ and run all tests in the `Debug` compilation.
./tools/scripts/generateAmalgamatedFiles.py
# 2. Configure the full test build
-cmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON
+cmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON -DCATCH_DEVELOPMENT_BUILD=ON
# 3. Run the actual build
cmake --build debug-build
diff --git a/tools/scripts/buildAndTest.sh b/tools/scripts/buildAndTest.sh
index d5bca96d..b343acad 100755
--- a/tools/scripts/buildAndTest.sh
+++ b/tools/scripts/buildAndTest.sh
@@ -8,7 +8,7 @@
./tools/scripts/generateAmalgamatedFiles.py
# 2. Configure the full test build
-cmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON
+cmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON -DCATCH_DEVELOPMENT_BUILD=ON
# 3. Run the actual build
cmake --build debug-build