llvm-project/llvm/cmake/modules
Shoaib Meenai f92acf1299 [cmake] Add function for building native tool
Instead of duplicating functionality for building native versions of
tblgen and llvm-config, add a function to set up a native tool build.
This will also be used for llvm-nm in a follow-up.

This should be NFC for tblgen, besides the slightly different COMMENT
for the custom command (it'll display the tablegen target name instead
of always saying TableGen).  For the native llvm-config, it's a behavior
change in that we'll use llvm_ExternalProject_BuildCmd instead of
constructing the build command manually, always build in Release, and
reference the correct binary path for multi-config generators. I believe
all of these changes to be bug fixes.

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

llvm-svn: 357486
2019-04-02 15:58:03 +00:00
..
AddLLVM.cmake [cmake] Reset variable before using it 2019-03-26 22:16:53 +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 Add secondary libstdc++ 4.8 and 5.1 detection mechanisms 2019-03-07 21:28:33 +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] Add function for building native tool 2019-04-02 15:58:03 +00:00
DetermineGCCCompatible.cmake
FindLibpfm.cmake [Build][NFC] Split off libpfm detection to a separate module. 2018-04-11 07:39:00 +00:00
FindOCaml.cmake
FindSphinx.cmake
FindZ3.cmake Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
GenerateVersionFromVCS.cmake [llvm] [cmake] Use current directory in GenerateVersionFromVCS 2019-02-11 09:07:07 +00:00
GetHostTriple.cmake Use AIX version detection at LLVM run-time 2019-03-13 00:12:43 +00:00
HandleLLVMOptions.cmake [AIX][CMake] Changes for building on AIX with XL and GCC 2019-03-13 21:50:25 +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 Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake [cmake] Remove use of deprecated generator expression. NFC 2019-03-30 01:35:01 +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 [cmake] Add function for building native tool 2019-04-02 15:58:03 +00:00
VersionFromVCS.cmake [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00