forked from qt-creator/qt-creator
CppTools: Move QtVersion and BuildTargetType
QtVersion to utils/cpplanguage_details.h which already contains similar flags. BuildTargetType to ProjectExplorer, next to BuildTargetInfo (but not in the same header to not pull that in everywhere). Removes dependency on ProjectPart from RawProjectPart. Change-Id: I5791065e4266f20c2657ee4b1b594df04b238a1c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -64,7 +64,7 @@ protected:
|
||||
ProjectExplorer::Macro{"_MSC_FULL_VER", "1900"},
|
||||
ProjectExplorer::Macro{"_MSC_VER", "19"}};
|
||||
projectPart.projectMacros = {ProjectExplorer::Macro{"projectFoo", "projectBar"}};
|
||||
projectPart.qtVersion = ProjectPart::Qt5;
|
||||
projectPart.qtVersion = Utils::QtVersion::Qt5;
|
||||
|
||||
projectPart.headerPaths = {HeaderPath{"/tmp/builtin_path", HeaderPathType::BuiltIn},
|
||||
HeaderPath{"/tmp/system_path", HeaderPathType::System},
|
||||
|
||||
Reference in New Issue
Block a user