tags:

views:

542

answers:

3

Do the following build systems: cmake, jam and bjam also generate makefiles like qmake does? What utility does MS visual c++ uses to generate make file?

+2  A: 

You might want to look at premake. Not sure if it does what qmake does, but it does generate project / make files for several tools.

drby
Actually I am not looking for a makefile generator but to know whether jam and bjam are one of them.
yesraaj
Jam and Bjam do **not** generate Makefiles.
JesperE
Premake4 is awesome.
Matt Joiner
+4  A: 

Visual Studio has its own project file format (*.vcproj), which CMake can generate. CMake can also generate Makefiles.

I can highly recommend CMake.

JesperE
is jam and bjam do generate makefiles?
yesraaj
Is it jam use there own version of makefile(jamfile) that jam can build the source using it?
yesraaj
Jam/bjam has their own syntax ("Jamfiles"). Sorry, but I don't understand your second comment.
JesperE
I am trying to mean the same, that jam has its own syntax for jamfiles(configuration file,something like makefile for make but precise) that can be used to build the src + includes to executable
yesraaj
+3  A: 

CMake does generate makefiles and projects files for several different build systems on different platforms. CMake is more generalised than qmake, which is specialised for Qt projects.

jam and bjam are replacements for make, i.e. different syntax. They do not generate build files.

You can generate makefiles (that nmake can use) from Visual Studio by saving them out once you have generated a solution.

Nick
+1 for mentioning **nmake**
Amro