[Patch] cmake additional arguments support

Kishore kitts.mailinglists at gmail.com
Sun Jul 12 09:06:31 UTC 2009


On Sunday 12 Jul 2009 3:01:43 am Kishore wrote:
>Index:
> /home/kishore/devel/kde/src/kdevelop/projectbuilders/cmakebuilder/cmakejob.
>cpp =================================================================== ---
> /home/kishore/devel/kde/src/kdevelop/projectbuilders/cmakebuilder/cmakejob.
>cpp      (revision 994787) +++
> /home/kishore/devel/kde/src/kdevelop/projectbuilders/cmakebuilder/cmakejob.
>cpp      (working copy) @@ -148,6 +148,7 @@
>     KConfigGroup group(cfg.data(), "CMake");
>     args <<
> QString("-DCMAKE_INSTALL_PREFIX=%1").arg(CMake::currentInstallDir(project).
>toLocalFile()); args <<
> QString("-DCMAKE_BUILD_TYPE=%1").arg(CMake::currentBuildType(project)); +  
>  args << CMake::currentAdditionalArgs(project);
>     args << project->folder().toLocalFile();
>     return args;
> }

It seems that this is not good enough. The arguments are there at this point 
but it seems that this is not what is being used when the cmake binary is 
called. I am not sure i understand how this works.
-- 
Cheers!
Kishore




More information about the KDevelop-devel mailing list