You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
296 B
9 lines
296 B
2 years ago
|
enable_language(${LANGUAGE})
|
||
|
|
||
|
include(WarningAsErrorOptions.cmake)
|
||
|
get_warning_options(warning_options ${LANGUAGE})
|
||
|
|
||
|
add_executable(WerrorOff warn.${EXTENSION})
|
||
|
target_compile_options(WerrorOff PUBLIC "${warning_options}")
|
||
|
set_target_properties(WerrorOff PROPERTIES COMPILE_WARNING_AS_ERROR OFF)
|