forked from qt-creator/qt-creator
CppTools: Add target information to ProjectPart
This is important to be able to map sources to actual things that are going to be built. Change-Id: I1aef940767d60192642ed79a1703cff8dfdad9e1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
831864c56c
commit
802eff3485
@@ -185,6 +185,7 @@ static ProjectPart::Ptr projectPartFromRawProjectPart(const RawProjectPart &rawP
|
||||
part->projectFileLine = rawProjectPart.projectFileLine;
|
||||
part->projectFileColumn = rawProjectPart.projectFileColumn;
|
||||
part->callGroupId = rawProjectPart.callGroupId;
|
||||
part->buildSystemTarget = rawProjectPart.buildSystemTarget;
|
||||
part->qtVersion = rawProjectPart.qtVersion;
|
||||
part->projectDefines = rawProjectPart.projectDefines;
|
||||
part->headerPaths = rawProjectPart.headerPaths;
|
||||
|
||||
@@ -66,6 +66,11 @@ void RawProjectPart::setConfigFileName(const QString &configFileName)
|
||||
this->projectConfigFile = configFileName;
|
||||
}
|
||||
|
||||
void RawProjectPart::setBuildSystemTarget(const QString &target)
|
||||
{
|
||||
buildSystemTarget = target;
|
||||
}
|
||||
|
||||
void RawProjectPart::setCallGroupId(const QString &id)
|
||||
{
|
||||
callGroupId = id;
|
||||
|
||||
@@ -63,6 +63,7 @@ public:
|
||||
void setProjectFileLocation(const QString &projectFile, int line = -1, int column = -1);
|
||||
void setConfigFileName(const QString &configFileName);
|
||||
void setCallGroupId(const QString &id);
|
||||
void setBuildSystemTarget(const QString &target);
|
||||
|
||||
void setQtVersion(ProjectPart::QtVersion qtVersion);
|
||||
|
||||
@@ -84,6 +85,7 @@ public:
|
||||
int projectFileColumn = -1;
|
||||
QString projectConfigFile; // currently only used by the Generic Project Manager
|
||||
QString callGroupId;
|
||||
QString buildSystemTarget;
|
||||
QStringList precompiledHeaders;
|
||||
ProjectPartHeaderPaths headerPaths;
|
||||
QByteArray projectDefines;
|
||||
|
||||
@@ -110,6 +110,7 @@ public:
|
||||
int projectFileColumn = -1;
|
||||
QString projectConfigFile; // currently only used by the Generic Project Manager
|
||||
QString callGroupId;
|
||||
QString buildSystemTarget;
|
||||
|
||||
ProjectFiles files;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user