llvm-project/llvm/cmake/modules
Shoaib Meenai 6391458e9c [cmake] Restrict resource file usage to Windows build hosts
Resource file compilation requires a working resource compiler.
Unfortunately, llvm-rc isn't quite there yet [1], and cmake's rc
invocation only works on Windows [2]. Until both those issues are
addressed, disable resource file usage on non-Windows build hosts, to
unblock Windows cross-compilation. This is also consistent with the
existing comment, which says "If *on Windows* and building with MSVC".

[1] http://lists.llvm.org/pipermail/llvm-dev/2017-October/118433.html
[2] https://public.kitware.com/pipermail/cmake/2017-October/066441.html

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

llvm-svn: 316594
2017-10-25 17:11:28 +00:00
..
AddLLVM.cmake [cmake] Restrict resource file usage to Windows build hosts 2017-10-25 17:11:28 +00:00
AddLLVMDefinitions.cmake
AddOCaml.cmake [OCaml] Pass -D/-UNDEBUG through to ocamlc 2017-07-29 08:10:24 +00:00
AddSphinxTarget.cmake CMake: Fix docs-llvm-man target when clang+llvm is in the same source tree 2017-05-15 09:34:23 +00:00
CMakeLists.txt cmake: Don't try to install exports if there aren't any 2016-11-08 05:02:18 +00:00
CheckAtomic.cmake [LLVM][MIPS] Introduce 64 bit atomic check in CheckAtomic.cmake 2016-06-23 06:39:35 +00:00
CheckCompilerVersion.cmake Fix the MSVC version check. 2017-01-03 23:12:36 +00:00
CheckLinkerFlag.cmake Add -Wl,-color-diagnostics if a linker supports the option. 2017-01-11 22:55:35 +00:00
ChooseMSVCCRT.cmake
CrossCompile.cmake CMake: make LLVM_OPTIMIZED_TABLEGEN friendly with LLVM_EXTERNAL_CLANG_SOURCE_DIR 2016-11-11 04:27:59 +00:00
DetermineGCCCompatible.cmake CMake is funky on detecting Intel 17 as GCC compatible. 2017-01-26 23:50:18 +00:00
FindOCaml.cmake
FindSphinx.cmake
GenerateVersionFromCVS.cmake Add SVN version to libLLVMLTO 2016-04-16 07:33:14 +00:00
GetHostTriple.cmake Improve CMake output of host and target triple 2016-09-27 18:08:40 +00:00
GetSVN.cmake [CMake] Update GetSVN.cmake to handle repo 2017-09-09 14:17:52 +00:00
HandleLLVMOptions.cmake Cleanup some problems with LLVM_ENABLE_DUMP in release builds, and 2017-09-27 21:19:56 +00:00
HandleLLVMStdlib.cmake Remove LLVM_ENABLE_LIBCXXABI 2016-08-04 10:24:48 +00:00
LLVM-Config.cmake [CMake][LLVM] Remove duplicated library mask. Broken clang linking against clangShared 2017-08-10 13:37:58 +00:00
LLVMConfig.cmake.in [CMake] NFC. Add intrinsics_gen target to CMake Exports 2017-07-28 15:33:35 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake Generate a compile_commands.json DB for external projects. 2017-07-20 23:46:46 +00:00
LLVMInstallSymlink.cmake
LLVMProcessSources.cmake [cmake] Add SOURCE_DIR argument to llvm_check_source_file_list 2017-09-19 17:44:42 +00:00
TableGen.cmake [CMake] Fix broken builds from r309029 2017-07-25 20:58:14 +00:00
VersionFromVCS.cmake CMake: Silence more stderr when running git. 2017-05-02 16:37:37 +00:00