[cmake] Add NATIVE build for cross compiling standalone builds
authorNathan Lanza <nathan@lanza.io>
Thu, 18 Jul 2019 00:21:57 +0000 (00:21 +0000)
committerNathan Lanza <nathan@lanza.io>
Thu, 18 Jul 2019 00:21:57 +0000 (00:21 +0000)
commit0c6ad3d5d19f04f476a7b2d9202dee2e3a6e9f73
tree8f2b5b823cddd5f677d39b34213971dc7da44ce9
parent68983321cc966018d2d0408f1abe920d332033df
[cmake] Add NATIVE build for cross compiling standalone builds

TableGen is a host tool and requires a native variant for every build.
While building as a part of llvm this is trivial and llvm handles it.
However, building standalone means that lldb has to handle this itself.
Add a NATIVE build variant to enable this.

llvm-svn: 366392
lldb/CMakeLists.txt