[LLVMdev] VS build is broken again

Cyrille Berger cberger at cberger.net
Mon May 19 00:08:01 PDT 2008


On Sunday 18 May 2008, Óscar Fuentes wrote:
> Chris Lattner <sabre at nondot.org> writes:
>
> [snip]
>
> > Others have suggested alternative build systems before like cmake.
> > Apparently cmake can autogenerate VC++ and Xcode project files from
> > the same thing that it builds from on unix systems.
>
> cmake creating VC++ project files does not appeal much to me. First,
> project files are not mandatory for using MS compiler.
cmake can create nmake files as well. It's also possible to add a different 
generator that use something else (even one that would output to gmake and 
use msvc compiler and gcc for header dependencies ;) ).

> Second, I'm 
> afraid that things like intermediate script invocations may be
> translated incorrectly to VC++ projects.
Calling external program works correctly, I am not sure why it woud be 
different for script invocations.

> > Has anyone used cmake in a real system before?
Kitware (the creators of cmake) products (VTK and ITK), KDE, scribus, inkscape 
for the biggest project I know which use cmake. All of them use it for 
building on windows, mac os x and unixes. But, at least, for KDE, I am not 
sure if for mac os x, anyone has try to use it with Xcode.
Personnally, I use cmake for building a project (OpenGTL) that link to llvm.

-- 
Cyrille Berger




More information about the llvm-dev mailing list