mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
138b7b6167
When embedding LLVM as a CMake subproject, using cross-compiling does not work at the moment. This also affects -DLLVM_OPTIMIZED_TABLEGEN=1, which uses the same CMake infrastructure. This patch replaces global CMake variables with the current version, which allows cross-compilation to work in a subproject. CMAKE_BINARY_DIR -> CMAKE_CURRENT_BINARY_DIR CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR CMAKE_PROJECT_NAME -> PROJECT_NAME Differential Revision: https://reviews.llvm.org/D78913 |
||
---|---|---|
.. | ||
modules | ||
platforms | ||
config-ix.cmake | ||
config.guess | ||
dummy.cpp | ||
nsis_icon.ico | ||
nsis_logo.bmp | ||
README |
See docs/CMake.html for instructions on how to build LLVM with CMake.