diff options
Diffstat (limited to 'sinksh/CMakeLists.txt')
-rw-r--r-- | sinksh/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sinksh/CMakeLists.txt b/sinksh/CMakeLists.txt new file mode 100644 index 0000000..1489fb3 --- /dev/null +++ b/sinksh/CMakeLists.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | project(sinksh) | ||
2 | |||
3 | find_package(Readline REQUIRED) | ||
4 | |||
5 | |||
6 | set(sink_cli_SRCS | ||
7 | main.cpp | ||
8 | syntaxtree.cpp | ||
9 | syntax_modules/core_syntax.cpp | ||
10 | syntax_modules/sink_list.cpp | ||
11 | syntax_modules/sink_clear.cpp | ||
12 | syntax_modules/sink_count.cpp | ||
13 | syntax_modules/sink_create.cpp | ||
14 | syntax_modules/sink_modify.cpp | ||
15 | syntax_modules/sink_remove.cpp | ||
16 | syntax_modules/sink_stat.cpp | ||
17 | syntax_modules/sink_sync.cpp | ||
18 | sinksh_utils.cpp | ||
19 | repl/repl.cpp | ||
20 | repl/replStates.cpp | ||
21 | state.cpp | ||
22 | utils.cpp) | ||
23 | |||
24 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
25 | |||
26 | add_executable(${PROJECT_NAME} ${sink_cli_SRCS}) | ||
27 | target_link_libraries(${PROJECT_NAME} Qt5::Core ${Readline_LIBRARY} sinkcommon) | ||
28 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
29 | |||