Add colored, run scripts

This commit is contained in:
Timofey Khoruzhii 2022-08-11 21:42:53 +03:00
parent 51188e9f8e
commit 6decd7bc4b
7 changed files with 36 additions and 45 deletions

View file

@ -8,7 +8,7 @@ file(GLOB_RECURSE SOURCES_FILES src/*)
add_executable(clippy_terminal ${SOURCES_FILES})
target_include_directories(clippy_terminal PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_link_libraries(clippy_terminal cppshell)
target_link_libraries(clippy_terminal cppshell rang)
install(TARGETS clippy_terminal DESTINATION bin)
@ -19,3 +19,10 @@ FetchContent_Declare(
GIT_TAG origin/main
)
FetchContent_MakeAvailable(cppshell)
FetchContent_Declare(
rang
GIT_REPOSITORY https://github.com/agauniyal/rang.git
GIT_TAG origin/master
)
FetchContent_MakeAvailable(rang)