Cmake make colored output
This commit is contained in:
parent
b0e0c0cd99
commit
967eba2f03
@ -34,6 +34,12 @@ target_include_directories(test PRIVATE
|
||||
include
|
||||
)
|
||||
|
||||
target_compile_options(test PRIVATE
|
||||
-Werror
|
||||
-fdiagnostics-color=always
|
||||
)
|
||||
|
||||
|
||||
## Move test images to build dir
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET ${PROJECT_NAME} POST_BUILD
|
||||
@ -55,3 +61,8 @@ target_include_directories(exec PRIVATE
|
||||
include
|
||||
)
|
||||
|
||||
target_compile_options(exec PRIVATE
|
||||
-Werror
|
||||
-fdiagnostics-color=always
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user