Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/CMakeLists.txt
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
51 | string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_TOLOWER) | 51 | string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_TOLOWER) | ||
52 | if(CMAKE_BUILD_TYPE_TOLOWER MATCHES "debug" | 52 | if(CMAKE_BUILD_TYPE_TOLOWER MATCHES "debug" | ||
53 | OR CMAKE_BUILD_TYPE_TOLOWER STREQUAL "") | 53 | OR CMAKE_BUILD_TYPE_TOLOWER STREQUAL "") | ||
54 | set(COMPILER_OPTIMIZATIONS_DISABLED TRUE) | 54 | set(COMPILER_OPTIMIZATIONS_DISABLED TRUE) | ||
55 | else() | 55 | else() | ||
56 | set(COMPILER_OPTIMIZATIONS_DISABLED FALSE) | 56 | set(COMPILER_OPTIMIZATIONS_DISABLED FALSE) | ||
57 | endif() | 57 | endif() | ||
58 | 58 | | |||
59 | add_definitions( | ||||
60 | -DQT_NO_CAST_FROM_ASCII | ||||
61 | -DQT_NO_CAST_TO_ASCII | ||||
62 | -DQT_NO_CAST_FROM_BYTEARRAY | ||||
63 | ) | ||||
64 | | ||||
59 | add_subdirectory(sublime) | 65 | add_subdirectory(sublime) | ||
60 | add_subdirectory(interfaces) | 66 | add_subdirectory(interfaces) | ||
61 | add_subdirectory(project) | 67 | add_subdirectory(project) | ||
62 | add_subdirectory(language) | 68 | add_subdirectory(language) | ||
63 | add_subdirectory(shell) | 69 | add_subdirectory(shell) | ||
64 | add_subdirectory(util) | 70 | add_subdirectory(util) | ||
65 | add_subdirectory(outputview) | 71 | add_subdirectory(outputview) | ||
66 | add_subdirectory(vcs) | 72 | add_subdirectory(vcs) | ||
Show All 26 Lines |