diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 11:43:37 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 11:43:37 +0100 |
commit | 071f4ef0122a8bfceeda9a10b41e85ad9a34a28d (patch) | |
tree | e5d1cb7efcac5eb16f4848619ff06142906b6cea /akonadi2_cli/CMakeLists.txt | |
parent | 255d73af197faf8437343abc10bd98cca2057a1e (diff) | |
download | sink-071f4ef0122a8bfceeda9a10b41e85ad9a34a28d.tar.gz sink-071f4ef0122a8bfceeda9a10b41e85ad9a34a28d.zip |
vastly simplify by getting rid of Module as a base class
just a move slightly more towards functional
Diffstat (limited to 'akonadi2_cli/CMakeLists.txt')
-rw-r--r-- | akonadi2_cli/CMakeLists.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/akonadi2_cli/CMakeLists.txt b/akonadi2_cli/CMakeLists.txt index b5bdb46..a07140e 100644 --- a/akonadi2_cli/CMakeLists.txt +++ b/akonadi2_cli/CMakeLists.txt | |||
@@ -3,14 +3,17 @@ project(akonadi2_cli) | |||
3 | find_package(Readline REQUIRED) | 3 | find_package(Readline REQUIRED) |
4 | 4 | ||
5 | 5 | ||
6 | set(akonadi2_SRCS | 6 | set(akonadi2_cli_SRCS |
7 | main.cpp | 7 | main.cpp |
8 | module.cpp | 8 | module.cpp |
9 | modules/exit/exit.cpp | 9 | modules/core_syntax.cpp |
10 | modules/help/help.cpp | ||
11 | repl/repl.cpp | 10 | repl/repl.cpp |
12 | repl/replStates.cpp | 11 | repl/replStates.cpp |
13 | state.cpp) | 12 | state.cpp) |
14 | 13 | ||
15 | add_executable(${PROJECT_NAME} ${akonadi2_SRCS}) | 14 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
15 | |||
16 | add_executable(${PROJECT_NAME} ${akonadi2_cli_SRCS}) | ||
17 | target_link_libraries(${PROJECT_NAME} Qt5::Core ${Readline_LIBRARY}) | ||
18 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
16 | 19 | ||