Skip to content

Commit

Permalink
add color support for err message when compiling with ninja (#2311)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxkmm authored Oct 19, 2024
1 parent cb3774a commit 9f84ccb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ cmake_policy(SET CMP0005 NEW)

set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_LIST_DIR}/firmware/toolchain-arm-cortex-m.cmake)

set(CMAKE_COLOR_MAKEFILE ON)

add_compile_options(-fdiagnostics-color=always)

option(USE_CCACHE "Enable ccache, please keep an eye on this because sometimes it's not quite stable and generated unusable binary" OFF)

project(portapack-h1)
Expand Down

0 comments on commit 9f84ccb

Please sign in to comment.