Add tests for CMake configure toggles passing to Catch2 build

This commit is contained in:
Martin Hořeňovský 2022-02-19 21:27:53 +01:00
parent 4396a9119f
commit 72f0372664
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
13 changed files with 308 additions and 15 deletions

View file

@ -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_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON -DCATCH_DEVELOPMENT_BUILD=ON
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
rem 3. Run the actual build
cmake --build debug-build