OLD | NEW |
1 # See docs/CMake.html for instructions about how to build LLVM with CMake. | 1 # See docs/CMake.html for instructions about how to build LLVM with CMake. |
2 | 2 |
3 project(LLVM) | 3 project(LLVM) |
4 cmake_minimum_required(VERSION 2.8) | 4 cmake_minimum_required(VERSION 2.8) |
5 | 5 |
6 # Add path for custom modules | 6 # Add path for custom modules |
7 set(CMAKE_MODULE_PATH | 7 set(CMAKE_MODULE_PATH |
8 ${CMAKE_MODULE_PATH} | 8 ${CMAKE_MODULE_PATH} |
9 "${CMAKE_CURRENT_SOURCE_DIR}/cmake" | 9 "${CMAKE_CURRENT_SOURCE_DIR}/cmake" |
10 "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" | 10 "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 set(LLVM_ALL_TARGETS | 66 set(LLVM_ALL_TARGETS |
67 Alpha | 67 Alpha |
68 ARM | 68 ARM |
69 Blackfin | 69 Blackfin |
70 CBackend | 70 CBackend |
71 CellSPU | 71 CellSPU |
72 CppBackend | 72 CppBackend |
73 Mips | 73 Mips |
74 MBlaze | 74 MBlaze |
75 MSP430 | 75 MSP430 |
| 76 PNaCl |
76 PowerPC | 77 PowerPC |
77 PTX | 78 PTX |
78 Sparc | 79 Sparc |
79 SystemZ | 80 SystemZ |
80 X86 | 81 X86 |
81 XCore | 82 XCore |
82 ) | 83 ) |
83 | 84 |
84 # List of targets with JIT support: | 85 # List of targets with JIT support: |
85 set(LLVM_TARGETS_WITH_JIT X86 PowerPC ARM Mips) | 86 set(LLVM_TARGETS_WITH_JIT X86 PowerPC ARM Mips) |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 include(CPack) | 289 include(CPack) |
289 | 290 |
290 # Workaround for MSVS10 to avoid the Dialog Hell | 291 # Workaround for MSVS10 to avoid the Dialog Hell |
291 # FIXME: This could be removed with future version of CMake. | 292 # FIXME: This could be removed with future version of CMake. |
292 if(MSVC_VERSION EQUAL 1600) | 293 if(MSVC_VERSION EQUAL 1600) |
293 set(LLVM_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/LLVM.sln") | 294 set(LLVM_SLN_FILENAME "${CMAKE_CURRENT_BINARY_DIR}/LLVM.sln") |
294 if( EXISTS "${LLVM_SLN_FILENAME}" ) | 295 if( EXISTS "${LLVM_SLN_FILENAME}" ) |
295 file(APPEND "${LLVM_SLN_FILENAME}" "\n# This should be regenerated!\n") | 296 file(APPEND "${LLVM_SLN_FILENAME}" "\n# This should be regenerated!\n") |
296 endif() | 297 endif() |
297 endif() | 298 endif() |
OLD | NEW |