Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration...
authorChris Bieneman <beanz@apple.com>
Wed, 3 Sep 2014 23:21:18 +0000 (23:21 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 3 Sep 2014 23:21:18 +0000 (23:21 +0000)
commit901166c93936cb532353933251a8b3983297b036
tree4af523ea94fac6de679296a7130cca7599a14b9b
parentc0f2b8b528d8a37b0a1522aae90af649d6357eb5
Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line

The basic idea is similar to the existing cross compilation support. A directory must be configured to build host versions of tablegen tools and llvm-config. This directory can be user provided (and configured), or it can be created during the build. During a build the native build directory will be configured and built to supply the tablegen tools used during the build. A user could also explicitly provide the tablegen executables to run on the CMake command line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217105 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/CrossCompile.cmake [new file with mode: 0644]
cmake/modules/TableGen.cmake
cmake/platforms/iOS.cmake [new file with mode: 0644]
tools/llvm-config/CMakeLists.txt