forked from qt-creator/qt-creator
CMake: Read macro definitions
The CodeBlocks generator writes for each macro definition <Add option=-D... /> (also make getters const) Task-number: QTCREATORBUG-3922 Change-Id: I93e10397e76ad4f34126a76c4c36e4529d48d0ad Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
566fa173b4
commit
b3c4aa99da
@@ -162,9 +162,11 @@ public:
|
||||
QList<ProjectExplorer::FileNode *> cmakeFileList();
|
||||
QStringList includeFiles();
|
||||
QList<CMakeBuildTarget> buildTargets();
|
||||
QByteArray defines() const;
|
||||
QString projectName() const;
|
||||
QString compilerName() const;
|
||||
bool hasCMakeFiles();
|
||||
|
||||
private:
|
||||
void parseCodeBlocks_project_file();
|
||||
void parseProject();
|
||||
@@ -186,6 +188,8 @@ private:
|
||||
QSet<QString> m_processedUnits;
|
||||
bool m_parsingCmakeUnit;
|
||||
QStringList m_includeFiles;
|
||||
QStringList m_compilerOptions;
|
||||
QByteArray m_defines;
|
||||
|
||||
CMakeBuildTarget m_buildTarget;
|
||||
bool m_buildTargetType;
|
||||
|
||||
Reference in New Issue
Block a user