Cmake make colored output
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user