diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3ee32e795..ba97ba66f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -144,13 +144,9 @@ foreach(file ${files}) DOCTEST_CONFIG_SUPER_FAST_ASSERTS ) target_compile_options(${testcase} PRIVATE - $<$:/EHsc;$<$:/Od>> - $<$>:-Wno-deprecated;-Wno-float-equal> + $<$:/EHsc;/W4;/WX;$<$:/Od>> + $<$>:-Wno-deprecated;-Wno-float-equal;-Wall;-Wextra;-pedantic;-Werror> $<$:-Wno-deprecated-declarations> - ) - target_compile_options(${testcase} PRIVATE - $<$:/W4;/WX>> - $<$>:-Wall;-Wextra;-pedantic;-Werror>> ) target_include_directories(${testcase} PRIVATE thirdparty/doctest