Lines 152-162
Link Here
|
152 |
|
152 |
|
153 |
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) |
153 |
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE) |
154 |
|
154 |
|
155 |
if (CMAKE_BUILD_TYPE AND |
|
|
156 |
NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$") |
157 |
message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") |
158 |
endif() |
159 |
|
160 |
set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) |
155 |
set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) |
161 |
|
156 |
|
162 |
# They are used as destination of target generators. |
157 |
# They are used as destination of target generators. |