hanchenye-llvm-project/llvm/cmake
Oscar Fuentes e16dc06159 Fix cmake build without native target selected.
The cmake (+ MSVC) build is broken if you don't select your native
target.

e.g. 'cmake -D LLVM_TARGETS_TO_BUILD="MyNonNativeTarget" .'

This is because cmake currently sets the LLVM_NATIVE_* definitions
regardless of whether the native target is selected (causing build
errors).

Patch by Mike Gist!

llvm-svn: 112946
2010-09-03 02:22:23 +00:00
..
modules Attempt to remove the MSIL backend from CMake as well based on Chris's r112375. 2010-08-30 07:25:54 +00:00
README CMake: Added notes pointing to the LLVM CMake documentation. 2009-04-04 22:52:02 +00:00
config-ix.cmake Fix cmake build without native target selected. 2010-09-03 02:22:23 +00:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.