llvm-project/llvm/cmake/modules
Michal Gorny 5590548f6b [llvm] [cmake] Provide split include paths in LLVMConfig
Modify LLVMConfig to provide split variables for in-source and generated
include paths.  Currently, it uses a single value for both
LLVM_INCLUDE_DIRS and LLVM_INCLUDE_DIR which works for install tree but
fails hard at build tree (where LLVM_INCLUDE_DIR incorrectly contains
multiple values).

Instead, put the generated directory in LLVM_INCLUDE_DIR, and the source
tree in LLVM_MAIN_INCLUDE_DIR which is consistent with in-LLVM builds.
For install tree, both variables will have the same value.

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

llvm-svn: 353924
2019-02-13 08:34:40 +00:00
..
AddLLVM.cmake [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00
AddLLVMDefinitions.cmake
AddOCaml.cmake Move the srpm, ocaml_make_directory, llvm_vcsrevision_h, and llvm-headers projects into the Misc folder on IDEs like Visual Studio rather than leave them in the root directory. NFC. 2017-11-04 19:59:14 +00:00
AddSphinxTarget.cmake [cmake] Include project name in Sphinx doctree dir to fix race conditions 2017-11-30 19:09:22 +00:00
CMakeLists.txt [llvm] [cmake] Provide split include paths in LLVMConfig 2019-02-13 08:34:40 +00:00
CheckAtomic.cmake [cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones. 2017-12-25 01:23:09 +00:00
CheckCompilerVersion.cmake Bump minimum toolchain version 2019-02-07 05:20:00 +00:00
CheckLinkerFlag.cmake [cmake] Make check_linker_flags operate via linker flags 2017-10-31 01:30:46 +00:00
ChooseMSVCCRT.cmake Revert r349517 "[CMake] Default options for faster executables on MSVC" 2018-12-19 18:01:42 +00:00
CrossCompile.cmake [cmake] Pass LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN to NATIVE configure 2019-02-07 20:58:04 +00:00
DetermineGCCCompatible.cmake CMake is funky on detecting Intel 17 as GCC compatible. 2017-01-26 23:50:18 +00:00
FindLibpfm.cmake [Build][NFC] Split off libpfm detection to a separate module. 2018-04-11 07:39:00 +00:00
FindOCaml.cmake
FindSphinx.cmake
GenerateVersionFromVCS.cmake [llvm] [cmake] Use current directory in GenerateVersionFromVCS 2019-02-11 09:07:07 +00:00
GetHostTriple.cmake [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
HandleLLVMOptions.cmake [Cmake] Add an option to build LLVM using the experimental new pass manager 2019-02-08 19:31:03 +00:00
HandleLLVMStdlib.cmake [cmake] Fix libc++ detection 2018-04-24 19:47:39 +00:00
LLVM-Config.cmake [CMake] Avoid REVERSE on unset variable 2018-09-26 10:14:10 +00:00
LLVMConfig.cmake.in [llvm] [cmake] Provide split include paths in LLVMConfig 2019-02-13 08:34:40 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake [CMake] Support cross-compiling with multi-stage builds 2018-11-16 04:46:48 +00:00
LLVMInstallSymlink.cmake [cmake] Use symlinks for Windows-hosted toolchains built on Unix 2018-01-09 07:50:18 +00:00
LLVMProcessSources.cmake [CMake] Unconditionally add .h and .td files to target sources 2018-10-11 04:02:53 +00:00
TableGen.cmake Re-land "Fix MSVC dependency issue between Clang-tablegen and LLVM-tablegen" 2018-12-19 19:42:21 +00:00
VersionFromVCS.cmake [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00