| 1234567891011121314151617 | rem Start at the root of the Catch project directory, for example:rem cd Catch2rem begin-snippet: catch2-build-and-test-winrem 1. Regenerate the amalgamated distributionpython tools\scripts\generateAmalgamatedFiles.pyrem 2. Configure the full test buildcmake -Bdebug-build -H. -DCMAKE_BUILD_TYPE=Debug -DCATCH_DEVELOPMENT_BUILD=ON -DCATCH_BUILD_EXAMPLES=ON -DCATCH_BUILD_EXTRA_TESTS=ON -DCATCH_ENABLE_CONFIGURE_TESTS=ONrem 3. Run the actual buildcmake --build debug-buildrem 4. Run the tests using CTestcd debug-buildctest -j 4 --output-on-failure -C Debugrem end-snippet
 |