forked from qt-creator/qt-creator
CMakePM: Jump to function/macro/option definitions in CMake editor
Fixes: QTCREATORBUG-25523 Change-Id: If9ab6651a858e5fa08e8a1c321cb1f757831e14a Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -18,7 +18,10 @@ namespace ProjectExplorer {
|
||||
class ExtraCompiler;
|
||||
class FolderNode;
|
||||
}
|
||||
namespace Utils { class Process; }
|
||||
namespace Utils {
|
||||
class Process;
|
||||
class Link;
|
||||
}
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
|
||||
@@ -115,6 +118,8 @@ public:
|
||||
QString error() const;
|
||||
QString warning() const;
|
||||
|
||||
const QHash<QString, Utils::Link> &cmakeSymbolsHash() const { return m_cmakeSymbolsHash; }
|
||||
|
||||
signals:
|
||||
void configurationCleared();
|
||||
void configurationChanged(const CMakeConfig &config);
|
||||
@@ -190,6 +195,8 @@ private:
|
||||
|
||||
void runCTest();
|
||||
|
||||
void setupCMakeSymbolsHash();
|
||||
|
||||
struct ProjectFileArgumentPosition
|
||||
{
|
||||
cmListFileArgument argumentPosition;
|
||||
@@ -215,6 +222,7 @@ private:
|
||||
QList<ProjectExplorer::ExtraCompiler *> m_extraCompilers;
|
||||
QList<CMakeBuildTarget> m_buildTargets;
|
||||
QSet<CMakeFileInfo> m_cmakeFiles;
|
||||
QHash<QString, Utils::Link> m_cmakeSymbolsHash;
|
||||
|
||||
QHash<QString, ProjectFileArgumentPosition> m_filesToBeRenamed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user