[LLVMdev] [cfe-dev] RFC: Upcoming Build System Changes

Óscar Fuentes ofv at wanadoo.es
Fri Oct 28 09:21:50 PDT 2011


Hello Anton.

Anton Korobeynikov <anton at korobeynikov.info> writes:

>> If having two build systems is a problem, just standardize on cmake.
> Does cmake support cross-compilation? Can it cross-compile LLVM ?

Yes: http://www.llvm.org/docs/CMake.html#cross

The main difference is that you use a configuration file instead of
passing arguments on the command line. Please note that the
configuration file is for a toolset, not for a project (i.e. you don't
need to create one every time you want to cross-compile a new project
from Debian to Windows with MinGW.)



More information about the llvm-dev mailing list