Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 31 Lines | 30 | ecm_setup_version( | |||
---|---|---|---|---|---|
32 | VARIABLE_PREFIX KIO | 32 | VARIABLE_PREFIX KIO | ||
33 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/kio_version.h" | 33 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/kio_version.h" | ||
34 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5KIOConfigVersion.cmake" | 34 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5KIOConfigVersion.cmake" | ||
35 | SOVERSION 5) | 35 | SOVERSION 5) | ||
36 | 36 | | |||
37 | option(KIOCORE_ONLY "Only compile KIOCore, not KIOWidgets or anything that depends on it. This will disable support for cookies and passwordhandling (prompting and storing)." OFF) | 37 | option(KIOCORE_ONLY "Only compile KIOCore, not KIOWidgets or anything that depends on it. This will disable support for cookies and passwordhandling (prompting and storing)." OFF) | ||
38 | option(KIO_FORK_SLAVES "If set we start the slaves via QProcess. It's also possible to change this by setting the environment variable KDE_FORK_SLAVES." OFF) | 38 | option(KIO_FORK_SLAVES "If set we start the slaves via QProcess. It's also possible to change this by setting the environment variable KDE_FORK_SLAVES." OFF) | ||
39 | 39 | | |||
40 | # Enable state assertion by default on Jenkins. | ||||
41 | # This option should eventually be dropped and always be enabled. | ||||
42 | set(ASSERT_SLAVE_STATES_DEFAULT OFF) | ||||
43 | if(DEFINED ENV{JENKINS_SERVER_COOKIE}) | ||||
44 | set(ASSERT_SLAVE_STATES_DEFAULT ON) | ||||
45 | endif() | ||||
46 | option(KIO_ASSERT_SLAVE_STATES | ||||
47 | "Used to control whether slave state assertions are enabled. When not enabled only warnings are generated." | ||||
48 | ${ASSERT_SLAVE_STATES_DEFAULT}) | ||||
49 | if(KIO_ASSERT_SLAVE_STATES AND NOT CMAKE_BUILD_TYPE MATCHES "[Dd]ebug$") | ||||
50 | message(FATAL_ERROR "KIO_ASSERT_SLAVE_STATES option enabled but not a Debug build. This makes no sense!") | ||||
51 | endif() | ||||
52 | | ||||
40 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | 53 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | ||
41 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | 54 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | ||
42 | 55 | | |||
43 | option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON) | 56 | option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON) | ||
44 | add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") | 57 | add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") | ||
45 | 58 | | |||
46 | find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED) | 59 | find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED) | ||
47 | find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) | 60 | find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |