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