diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-09 22:02:35 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-11 01:01:13 +0100 |
commit | a9fb4f869271f47c3a4507d2bc6b8b3d756ec873 (patch) | |
tree | 3d4c171a0a9ed85dd01008af388cfe63bcda7538 /tests/hawd/CMakeLists.txt | |
parent | 02c16b560eb2b1f00c154a945b60478419ecc2eb (diff) | |
download | sink-a9fb4f869271f47c3a4507d2bc6b8b3d756ec873.tar.gz sink-a9fb4f869271f47c3a4507d2bc6b8b3d756ec873.zip |
DataSet, and create a small lib to be used by tests
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 | ||