summaryrefslogtreecommitdiffstats
path: root/tests/hawd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hawd/CMakeLists.txt')
-rw-r--r--tests/hawd/CMakeLists.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/hawd/CMakeLists.txt b/tests/hawd/CMakeLists.txt
index 8c677c0..ebc5ac2 100644
--- a/tests/hawd/CMakeLists.txt
+++ b/tests/hawd/CMakeLists.txt
@@ -2,15 +2,25 @@ project(hawd)
2 2
3include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) 3include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
4 4
5set(SRCS 5set(lib_SRCS
6 dataset.cpp
6 datasetdefinition.cpp 7 datasetdefinition.cpp
8 state.cpp
9)
10
11set(SRCS
7 main.cpp 12 main.cpp
8 module.cpp 13 module.cpp
9 state.cpp
10 modules/list.cpp 14 modules/list.cpp
11) 15)
12 16
17add_library(libhawd ${lib_SRCS})
18qt5_use_modules(libhawd Core)
19target_link_libraries(libhawd akonadi2common)
20install(TARGETS libhawd DESTINATION lib)
21
13add_executable(${PROJECT_NAME} ${SRCS}) 22add_executable(${PROJECT_NAME} ${SRCS})
14qt5_use_modules(${PROJECT_NAME} Core) 23qt5_use_modules(${PROJECT_NAME} Core)
24target_link_libraries(${PROJECT_NAME} libhawd)
15install(TARGETS ${PROJECT_NAME} DESTINATION bin) 25install(TARGETS ${PROJECT_NAME} DESTINATION bin)
16 26