diff options
Diffstat (limited to 'tests/hawd/CMakeLists.txt')
-rw-r--r-- | tests/hawd/CMakeLists.txt | 14 |
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 | ||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
4 | 4 | ||
5 | set(SRCS | 5 | set(lib_SRCS |
6 | dataset.cpp | ||
6 | datasetdefinition.cpp | 7 | datasetdefinition.cpp |
8 | state.cpp | ||
9 | ) | ||
10 | |||
11 | set(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 | ||
17 | add_library(libhawd ${lib_SRCS}) | ||
18 | qt5_use_modules(libhawd Core) | ||
19 | target_link_libraries(libhawd akonadi2common) | ||
20 | install(TARGETS libhawd DESTINATION lib) | ||
21 | |||
13 | add_executable(${PROJECT_NAME} ${SRCS}) | 22 | add_executable(${PROJECT_NAME} ${SRCS}) |
14 | qt5_use_modules(${PROJECT_NAME} Core) | 23 | qt5_use_modules(${PROJECT_NAME} Core) |
24 | target_link_libraries(${PROJECT_NAME} libhawd) | ||
15 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) | 25 | install(TARGETS ${PROJECT_NAME} DESTINATION bin) |
16 | 26 | ||