catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Enable /Wx (Warnings as error) for SelfTest builds
- Commit
9a037204faa5698139def9b417dc6109f8987bc0- Author
- Martin Hořeňovský ·
- Parents
374c050a4257
Changes
CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 58545dcf..fe167dc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -253,7 +253,7 @@ if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" ) target_compile_options( Benchmark PRIVATE -Wall -Wextra ) endif() if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" ) - target_compile_options( SelfTest PRIVATE /W4 /w44265 ) + target_compile_options( SelfTest PRIVATE /W4 /w44265 /Wx ) target_compile_options( Benchmark PRIVATE /W4 ) endif()