2015-04-14 22:08:21 +00:00
|
|
|
project(folderarchivesettings)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${KDEPIMLIBS_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
include(KDE4Defaults)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
|
|
|
|
|
|
|
|
set(folderarchivesettings_SRCS
|
|
|
|
folderarchivesettingpage.cpp
|
|
|
|
folderarchiveutil.cpp
|
|
|
|
folderarchiveaccountinfo.cpp
|
|
|
|
)
|
|
|
|
|
2015-09-25 12:06:19 +00:00
|
|
|
add_library(folderarchivesettings ${LIBRARY_TYPE} ${folderarchivesettings_SRCS} )
|
2015-04-14 22:08:21 +00:00
|
|
|
|
|
|
|
target_link_libraries(folderarchivesettings
|
|
|
|
${KDEPIMLIBS_KMIME_LIBS}
|
|
|
|
${AKONADI_COMMON_LIBRARIES}
|
|
|
|
${QT_QTGUI_LIBRARY}
|
|
|
|
${KDEPIMLIBS_AKONADI_LIBS}
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(folderarchivesettings PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
|
|
|
|
|
|
|
|
install(TARGETS folderarchivesettings ${INSTALL_TARGETS_DEFAULT_ARGS})
|
2015-09-25 12:06:19 +00:00
|
|
|
|
|
|
|
if(ENABLE_TESTING)
|
|
|
|
add_subdirectory( autotests )
|
|
|
|
endif()
|
|
|
|
|
2015-04-14 22:08:21 +00:00
|
|
|
|