Cmake make colored output
This commit is contained in:
1 parent
bc780f3a4f
commit
f52758f1ce
1 file changed
+11
@@ -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