Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors

This commit is contained in:
Shauren
2024-09-20 13:19:42 +02:00
parent 24d08307e4
commit 7ac0c685dd
15 changed files with 54 additions and 62 deletions

View File

@@ -26,6 +26,6 @@ target_include_directories(extractor_common
${CMAKE_CURRENT_SOURCE_DIR})
set_target_properties(extractor_common
PROPERTIES
FOLDER
"tools")
PROPERTIES
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
FOLDER "tools")