mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
warning as error for tests
This commit is contained in:
@@ -23,13 +23,13 @@ target_link_libraries(${PROJECT_NAME} meta.hpp)
|
|||||||
target_compile_options(${PROJECT_NAME}
|
target_compile_options(${PROJECT_NAME}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<$<CXX_COMPILER_ID:MSVC>:
|
$<$<CXX_COMPILER_ID:MSVC>:
|
||||||
/W4>
|
/WX /W4>
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<$<CXX_COMPILER_ID:GNU>:
|
$<$<CXX_COMPILER_ID:GNU>:
|
||||||
-Wall -Wextra -Wpedantic>
|
-Werror -Wall -Wextra -Wpedantic>
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:
|
||||||
-Weverything -Wno-unknown-warning-option
|
-Werror -Weverything -Wno-unknown-warning-option
|
||||||
-Wconversion -Wimplicit-int-float-conversion
|
-Wconversion -Wimplicit-int-float-conversion
|
||||||
-Wno-c++98-compat-pedantic -Wno-ctad-maybe-unsupported
|
-Wno-c++98-compat-pedantic -Wno-ctad-maybe-unsupported
|
||||||
-Wno-float-equal -Wno-double-promotion -Wno-shadow-field-in-constructor>)
|
-Wno-float-equal -Wno-double-promotion -Wno-shadow-field-in-constructor>)
|
||||||
|
|||||||
Reference in New Issue
Block a user