[cmake] Convert the NATIVE llvm build process to be project agnostic
authorNathan Lanza <nathan@lanza.io>
Fri, 19 Jul 2019 00:10:06 +0000 (00:10 +0000)
committerNathan Lanza <nathan@lanza.io>
Fri, 19 Jul 2019 00:10:06 +0000 (00:10 +0000)
commitc9477949ba85e4bb4d4b7d80785216625899bff3
treea9fe390b8d3ffe9789fe92c448ab77d9ff085487
parent01eb3ab70c98db4c4a1e5c63fc3a4f8a94e19bd5
[cmake] Convert the NATIVE llvm build process to be project agnostic

lldb recently added a tablegen tool. In order to properly cross compile
lldb standalone there needs to be a mechanism to generate the native
lldb build, analgous to what's done for the NATIVE llvm build. Thus,
we can simply modify this setup to allow for any project to be used.

llvm-svn: 366514
llvm/CMakeLists.txt
llvm/cmake/modules/CrossCompile.cmake