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 | | ||||
65 | add_subdirectory(sublime) | 59 | add_subdirectory(sublime) | ||
66 | add_subdirectory(interfaces) | 60 | add_subdirectory(interfaces) | ||
67 | add_subdirectory(project) | 61 | add_subdirectory(project) | ||
68 | add_subdirectory(language) | 62 | add_subdirectory(language) | ||
69 | add_subdirectory(shell) | 63 | add_subdirectory(shell) | ||
70 | add_subdirectory(util) | 64 | add_subdirectory(util) | ||
71 | add_subdirectory(outputview) | 65 | add_subdirectory(outputview) | ||
72 | add_subdirectory(vcs) | 66 | add_subdirectory(vcs) | ||
Show All 26 Lines |