summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
diff options
context:
space:
mode:
authorNicolas Arnaud-Cormos <nicolas@kdab.com>2011-10-21 23:17:58 +0200
committerDaniel Teske <daniel.teske@nokia.com>2011-10-27 12:16:47 +0200
commitaef4a8fbaf509cb96f0516a9fd8b0977311f6c5f (patch)
tree0bd8199d6157c4b462662c5532fefff2d9f35ae2 /src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
parent6de2b281301ac57e1da2a645e253561fd347e33e (diff)
downloadqt-creator-aef4a8fbaf509cb96f0516a9fd8b0977311f6c5f.tar.gz
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
index 123d6af6fb..b5db28b4f4 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
@@ -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;
}