Changeset View
Changeset View
Standalone View
Standalone View
akonadi/calendar/CMakeLists.txt
include_directories( | include_directories( | ||||
${CMAKE_CURRENT_SOURCE_DIR} | ${CMAKE_CURRENT_SOURCE_DIR} | ||||
${CMAKE_CURRENT_BINARY_DIR} | ${CMAKE_CURRENT_BINARY_DIR} | ||||
) | ) | ||||
# TODO: Add a cmake option for this and enable it on jenkins | # TODO: Add a cmake option for this and enable it on jenkins | ||||
set( PLEASE_TEST_INVITATIONS FALSE) | set( PLEASE_TEST_INVITATIONS TRUE) | ||||
knauss: This is needed to activate the itiphandler test ; problem with jenkis on kde infrastructure, so… | |||||
if ( PLEASE_TEST_INVITATIONS ) | if ( PLEASE_TEST_INVITATIONS ) | ||||
add_definitions( -DPLEASE_TEST_INVITATIONS ) | add_definitions( -DPLEASE_TEST_INVITATIONS ) | ||||
endif() | endif() | ||||
add_subdirectory( tests ) | add_subdirectory( tests ) | ||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") | ||||
remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII) | remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII) | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |
This is needed to activate the itiphandler test ; problem with jenkis on kde infrastructure, so they can't run the tests, and the tests are fragile. randomly breaks, because of sqlite.