Warning, /frameworks/kactivities/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # vim:set softtabstop=3 shiftwidth=3 tabstop=3 expandtab:
0002 
0003 # Boosting us a bit
0004 
0005 if (NOT KACTIVITIES_LIBRARY_ONLY)
0006    find_package (Boost 1.49 REQUIRED)
0007 
0008    string (REGEX MATCH "1053.." BOOST_VERSION_BLACKLISTED ${Boost_VERSION})
0009 
0010    if (BOOST_VERSION_BLACKLISTED AND NOT KACTIVITIES_ENABLE_EXCEPTIONS)
0011       message (
0012          WARNING
0013          "Boost.Container 1.53 has issues when exceptions are disabled. "
0014          "We will set the KACTIVITIES_ENABLE_EXCEPTIONS option."
0015          )
0016       set (KACTIVITIES_ENABLE_EXCEPTIONS ON)
0017    endif ()
0018 endif ()
0019 
0020 if (KACTIVITIES_ENABLE_EXCEPTIONS)
0021    string (REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
0022    add_definitions (-fexceptions)
0023 endif ()
0024 
0025 # =======================================================
0026 # Starting the actual project definition
0027 
0028 # The libraries do not depend on any compile-time features
0029 add_subdirectory (lib)
0030 
0031 if (NOT KACTIVITIES_LIBRARY_ONLY)
0032    include_directories (
0033       ${CMAKE_CURRENT_BINARY_DIR}
0034       ${CMAKE_CURRENT_SOURCE_DIR}
0035       )
0036    add_subdirectory (imports)
0037 endif ()
0038 
0039 add_subdirectory (cli)
0040 
0041 ecm_qt_install_logging_categories(
0042     EXPORT KACTIVITIES
0043     FILE kactivities.categories
0044     DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
0045 )