forked from qt-creator/qt-creator
CMake: Add CMakeSnippetProvider
This allows to define snippets for CMakeLists.txt files. They can not be used yet:-/ Change-Id: Iad68632798ecfe04018d08d284f9b5a8b0e564ee Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "cmakeprojectmanager.h"
|
||||
#include "cmakebuildconfiguration.h"
|
||||
#include "cmakerunconfiguration.h"
|
||||
#include "cmakesnippetprovider.h"
|
||||
#include "cmakeprojectconstants.h"
|
||||
#include "cmakelocatorfilter.h"
|
||||
#include "cmakesettingspage.h"
|
||||
@@ -46,6 +47,7 @@ bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *
|
||||
Q_UNUSED(errorMessage)
|
||||
Utils::MimeDatabase::addMimeTypes(QLatin1String(":cmakeproject/CMakeProjectManager.mimetypes.xml"));
|
||||
|
||||
addAutoReleasedObject(new Internal::CMakeSnippetProvider);
|
||||
addAutoReleasedObject(new CMakeSettingsPage);
|
||||
addAutoReleasedObject(new CMakeManager);
|
||||
addAutoReleasedObject(new CMakeBuildStepFactory);
|
||||
|
||||
Reference in New Issue
Block a user