Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 47 | if(BUILD_TESTING) | |||
---|---|---|---|---|---|
48 | add_subdirectory( tests ) | 48 | add_subdirectory( tests ) | ||
49 | add_subdirectory( autotests ) | 49 | add_subdirectory( autotests ) | ||
50 | endif() | 50 | endif() | ||
51 | add_definitions(-DTRANSLATION_DOMAIN=\"kparts5\") | 51 | add_definitions(-DTRANSLATION_DOMAIN=\"kparts5\") | ||
52 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 52 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
53 | ki18n_install(po) | 53 | ki18n_install(po) | ||
54 | endif() | 54 | endif() | ||
55 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 55 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | ||
56 | 56 | add_definitions(-DQT_NO_FOREACH) | |||
57 | add_subdirectory( src ) | 57 | add_subdirectory( src ) | ||
58 | add_subdirectory(templates) | 58 | add_subdirectory(templates) | ||
59 | 59 | | |||
60 | # create a Config.cmake and a ConfigVersion.cmake file and install them | 60 | # create a Config.cmake and a ConfigVersion.cmake file and install them | ||
61 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Parts") | 61 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Parts") | ||
62 | 62 | | |||
63 | if (BUILD_QCH) | 63 | if (BUILD_QCH) | ||
64 | ecm_install_qch_export( | 64 | ecm_install_qch_export( | ||
Show All 31 Lines |