Add cppshell lib

This commit is contained in:
Timofey 2022-08-10 22:01:53 +03:00
parent 7e7d2aa575
commit c6d62059ae

View file

@ -8,5 +8,14 @@ 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)
install(TARGETS clippy_terminal DESTINATION bin)
include(FetchContent)
FetchContent_Declare(
cppshell
GIT_REPOSITORY https://gitlab.com/Onyad/cppshell
GIT_TAG origin/main
)
FetchContent_MakeAvailable(cppshell)