[Qt-creator] Project-specific make tool

Daniel Teske daniel.teske at digia.com
Wed Mar 12 14:53:34 CET 2014


On Wednesday 12 Mar 2014 14:49:56 Stephen Kelly wrote:
> Daniel Teske wrote:
> >> The way to specify such a tool with cmake is to invoke cmake in the build
> >> directory with -DCMAKE_MAKE_PROGRAM=/path/to/jom .
> >> 
> >> Would a patch doing that be accepted?
> > 
> > Why do you want to run cmake on changing which make tool is used? What
> > benefit does that bring?
> 
> It allows cmake to run the correct build tool. I loaded a cmake project in
> creator on Windows, and creator executed cmake for me. That populated the
> cache with:
> 
>  //Program used to build from makefiles.
>  CMAKE_MAKE_PROGRAM:STRING=nmake
> 
> So, if the makefiles cause cmake to run any part of the build, it will use
> nmake. Creator expects jom to be used. The solution is to tell cmake to use
> jom.
Can you demonstrate this in a example? We don't expect cmake to run make for 
us, and other things would break if cmake does that.

daniel



More information about the Qt-creator mailing list