forked from qt-creator/qt-creator
CMake: Remove unnecessary members from CMakeTargets
Change-Id: I6428496f4eab0d42f44525477c716f74714f8824 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -372,13 +372,6 @@ void CMakeCbpParser::parseBuildTargetBuild()
|
|||||||
|
|
||||||
void CMakeCbpParser::parseBuildTargetClean()
|
void CMakeCbpParser::parseBuildTargetClean()
|
||||||
{
|
{
|
||||||
if (attributes().hasAttribute(QLatin1String("command"))) {
|
|
||||||
m_buildTarget.makeCleanCommand = attributes().value(QLatin1String("command")).toString();
|
|
||||||
|
|
||||||
CMakeTool *tool = CMakeKitInformation::cmakeTool(m_kit);
|
|
||||||
if (tool)
|
|
||||||
m_buildTarget.makeCleanCommand = tool->mapAllPaths(m_kit, m_buildTarget.makeCleanCommand);
|
|
||||||
}
|
|
||||||
while (!atEnd()) {
|
while (!atEnd()) {
|
||||||
readNext();
|
readNext();
|
||||||
if (isEndElement())
|
if (isEndElement())
|
||||||
|
|||||||
@@ -642,7 +642,6 @@ void CMakeBuildTarget::clear()
|
|||||||
{
|
{
|
||||||
executable.clear();
|
executable.clear();
|
||||||
makeCommand.clear();
|
makeCommand.clear();
|
||||||
makeCleanCommand.clear();
|
|
||||||
workingDirectory.clear();
|
workingDirectory.clear();
|
||||||
sourceDirectory.clear();
|
sourceDirectory.clear();
|
||||||
title.clear();
|
title.clear();
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ public:
|
|||||||
QString workingDirectory;
|
QString workingDirectory;
|
||||||
QString sourceDirectory;
|
QString sourceDirectory;
|
||||||
QString makeCommand;
|
QString makeCommand;
|
||||||
QString makeCleanCommand;
|
|
||||||
|
|
||||||
// code model
|
// code model
|
||||||
QStringList includeFiles;
|
QStringList includeFiles;
|
||||||
|
|||||||
Reference in New Issue
Block a user