Initial commit
This commit is contained in:
26
cli/CMakeLists.txt
Normal file
26
cli/CMakeLists.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
FetchContent_Declare(ftxui
|
||||
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
|
||||
GIT_TAG v6.0.2
|
||||
GIT_PROGRESS TRUE
|
||||
GIT_SHALLOW TRUE
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
FetchContent_MakeAvailable(ftxui)
|
||||
|
||||
FetchContent_Declare(toml11
|
||||
GIT_REPOSITORY https://github.com/ToruNiina/toml11.git
|
||||
GIT_TAG v4.4.0
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(toml11)
|
||||
|
||||
add_executable(katja-cli main.cpp component.hpp component.cpp)
|
||||
target_include_directories(katja-cli PRIVATE ${Boost_INCLUDE_DIR})
|
||||
target_link_libraries(katja-cli
|
||||
LINK_PUBLIC katja
|
||||
LINK_PRIVATE ftxui::screen
|
||||
LINK_PRIVATE ftxui::dom
|
||||
LINK_PRIVATE ftxui::component
|
||||
LINK_PRIVATE toml11::toml11
|
||||
)
|
||||
set_target_properties(katja-cli PROPERTIES RUNTIME_OUTPUT_NAME katja)
|
Reference in New Issue
Block a user