Scripts: flag to disable warnings reprinting

This commit is contained in:
kevg 2016-11-19 13:59:12 +03:00 committed by Aleksey Midenkov
parent be0f586972
commit 52a6812595

View file

@ -1,4 +1,4 @@
IF (CMAKE_BUILD_TYPE MATCHES "Debug")
IF (NOT DEFINED WITHOUT_REPRINT AND CMAKE_BUILD_TYPE MATCHES "Debug")
SET_DIRECTORY_PROPERTIES(PROPERTIES RULE_LAUNCH_COMPILE
"bash ${CMAKE_SOURCE_DIR}/BUILD/capture_warnings.sh ${CMAKE_BINARY_DIR}")
SET_DIRECTORY_PROPERTIES(PROPERTY ADDITIONAL_MAKE_CLEAN_FILES