From ed7fdbcf6beb40960cf91555ae1d506278b852d8 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 16 Dec 2014 08:25:14 +0100 Subject: move client classes into akonadi2common and add the base class for resource plugins we can divide up libakonadi2common later once we have a full collection of classes this makes writing code a bit simpler now as we don't have to figuer out which libraries to link against or how class dependencies should look. when we have more infrastructure in place this will mostly become self-evident --- common/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/CMakeLists.txt') diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index d200635..fab7708 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -13,12 +13,16 @@ endif (STORAGE_unqlite) set(command_SRCS commands.cpp console.cpp + resourceaccess.cpp storage_common.cpp + threadboundary.cpp ${storage_SRCS}) add_library(${PROJECT_NAME} SHARED ${command_SRCS}) generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h) SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) -qt5_use_modules(${PROJECT_NAME} Widgets) +qt5_use_modules(${PROJECT_NAME} Widgets Network) target_link_libraries(${PROJECT_NAME} ${storage_LIBS}) install(TARGETS ${PROJECT_NAME} DESTINATION lib) + +add_subdirectory(test) -- cgit v1.2.3