-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
34 lines (30 loc) · 764 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
34 lines (30 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
cmake_minimum_required (VERSION 3.14)
project(fstabWrapper LANGUAGES CXX VERSION 1.0.0)
find_package(Threads REQUIRED)
include(FetchContent)
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG v5.0.0
)
FetchContent_Declare(ftxui-grid-container
GIT_REPOSITORY https://github.com/mingsheng13/grid-container-ftxui
GIT_TAG master
)
FetchContent_MakeAvailable(ftxui)
FetchContent_MakeAvailable(ftxui-grid-container)
add_executable(fstabWrapper
src/main.cpp
src/DeviceClass.cpp
src/DeviceClass.h
src/Controller.h
src/Controller.cpp
src/Ui.h
src/Ui.cpp
)
target_link_libraries(fstabWrapper
PRIVATE ftxui::screen
PRIVATE ftxui::dom
PRIVATE ftxui::component
PRIVATE blkid
PRIVATE ftxui-grid-container
)