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
Fixed CMake generation of MSVC warning levels
- Commit
6fea473414fa31ba9e6564421fa4639c49173d80- Author
- philsquared ·
- Parents
68e7fdce20a0
Changes
CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d76cf767..58545dcf 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 /W44265 ) + target_compile_options( SelfTest PRIVATE /W4 /w44265 ) target_compile_options( Benchmark PRIVATE /W4 ) endif()