summaryrefslogtreecommitdiff
path: root/kimap/tests/kimaptest/CMakeLists.txt
blob: cc111832b47f5fe80e9e895e76ff507b07c1e0b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
project(kimaptest)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")

set(kimaptest_LIB_SRCS
   fakeserver.cpp
   mockjob.cpp
)

find_package(Qt4 4.6.0 REQUIRED)
include_directories(${QT_INCLUDES})
add_library(calendaring-kimaptest STATIC ${kimaptest_LIB_SRCS})
target_link_libraries(calendaring-kimaptest ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTTEST_LIBRARY} calendaring-kimap)
install(TARGETS calendaring-kimaptest ${INSTALL_TARGETS_DEFAULT_ARGS})

########### install files ###############

install(FILES
  fakeserver.h
  mockjob.h
  DESTINATION ${INCLUDE_INSTALL_DIR}/kimaptest COMPONENT Devel)