[CMake] converting everything

Alexander Neundorf a.neundorf-work at gmx.net
Fri Sep 21 09:06:01 EDT 2007


On Friday 21 September 2007 08:37, Christian Buhtz wrote:
> I ask me why there are so much make-implementations. It is to hard for
> all of us. I know that there couldn't be the one super-make...

That's what cmake is for. Write it once for cmake, which hides all the 
differences of the different buildtools from you.

> Can CMake read a foreign-makefile (e.g. MinGW-make or nmake) and
> generate its own cmake-makefile of it (what is the word for the
> cmake-makefile-format?)?
>
> Or can CMake read a CodeBlocks project and generate its cmake-makefile
> so that I can generate every supported makefile-format from it?

No, it's the opposite direction: you write your buildsystem once for cmake, 
and then cmake will generate build files for the actually used tool: UNIX 
makefiles, nmake makefiles, MSVC, XCode, KDevelop, CodeBlocks, Eclipse 
projects.

There are some helper scripts for converting from other build systems to 
cmake: 
http://www.cmake.org/Wiki/CMake#Converters_from_other_buildsystems_to_CMake

Alex


More information about the CMake mailing list