Add a locator to compile a specific cmake target

The locator will show all the targets for the cmake projects, even the /fast one.
It allows people to build a specific target without reloading the whole project.
It's using the make prefix.

Change-Id: Ia6701bb19c1ae390af647d94d0a2834b05a1772a
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Nicolas Arnaud-Cormos
2011-10-21 23:17:58 +02:00
committed by Daniel Teske
parent 6de2b28130
commit aef4a8fbaf
7 changed files with 244 additions and 3 deletions

View File

@@ -37,6 +37,7 @@
#include "makestep.h"
#include "cmakeprojectconstants.h"
#include "cmaketarget.h"
#include "cmakelocatorfilter.h"
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
@@ -72,6 +73,7 @@ bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *
addAutoReleasedObject(new CMakeEditorFactory(manager, editorHandler));
addAutoReleasedObject(new CMakeTargetFactory);
addAutoReleasedObject(new CMakeLocatorFilter);
return true;
}