This commit is contained in:
Timofey Khoruzhii 2023-01-09 11:42:28 +03:00
parent a2186366b8
commit 75eb05bd1a
7 changed files with 206 additions and 73 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 rang jsoncons)
target_link_libraries(clippy_terminal cppshell tmuxub rang jsoncons)
install(TARGETS clippy_terminal DESTINATION bin)
@ -20,6 +20,13 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(cppshell)
FetchContent_Declare(
tmuxub
GIT_REPOSITORY https://gitlab.com/Onyad/tmuxub
GIT_TAG origin/main
)
FetchContent_MakeAvailable(tmuxub)
FetchContent_Declare(
rang
GIT_REPOSITORY https://github.com/agauniyal/rang.git
@ -27,10 +34,10 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(rang)
set(JSONCONS_BUILD_TESTS OFF CACHE INTERNAL "Turn off tests")
FetchContent_Declare(
jsoncons
GIT_REPOSITORY https://github.com/danielaparker/jsoncons
GIT_TAG origin/master
)
set(JSONCONS_BUILD_TESTS OFF)
FetchContent_MakeAvailable(jsoncons)