ProjectPart: Add meta information

Add displayname and project file path and a pointer back to the
project.

Change-Id: Ic9a18f52a6291493bd3a95fd3456ed0e1a3c63e3
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Daniel Teske
2013-09-30 15:59:49 +02:00
committed by Erik Verbruggen
parent fe62ad287f
commit e462c9620d
7 changed files with 24 additions and 1 deletions

View File

@@ -337,6 +337,9 @@ bool CMakeProject::parseCMakeLists()
pinfo.clearProjectParts();
CppTools::ProjectPart::Ptr part(new CppTools::ProjectPart);
part->project = this;
part->displayName = displayName();
part->projectFile = projectFilePath();
part->evaluateToolchain(tc,
cxxflags,