llvm-project/compiler-rt/cmake
Michal Gorny 697026f312 [cmake] Support overriding llvm-config query results
Support overriding LLVM_* variables obtained from llvm-config when doing
stand-alone builds. The override of LLVM_MAIN_SRC_DIR is necessary to
provide LLVM sources when the initial directory used to build LLVM does
no longer exist when compiler-rt is built stand-alone. This is
especially the case when building the projects separately in temporary
directories with unpredictable names.

The code is based on existing CMakeLists.txt from clang. Alike clang, it
extends the override to all queried variables.

Differential Revision: https://reviews.llvm.org/D24005

llvm-svn: 281461
2016-09-14 13:42:31 +00:00
..
Modules [cmake] Support overriding llvm-config query results 2016-09-14 13:42:31 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [compiler-rt] Fix library suffixes on windows 2016-09-07 20:32:48 +00:00
builtin-config-ix.cmake [compiler-rt] Use flags found when configuring builtins during compilation 2016-08-22 20:33:47 +00:00
config-ix.cmake Revert "[XRay] ARM 32-bit no-Thumb support in compiler-rt" 2016-09-08 17:13:15 +00:00