cmInstalledFile: Move Property implementation out of line.

Don't require re-building the world when changing cmAlgorithms.h.
This commit is contained in:
Stephen Kelly 2015-03-08 13:37:44 +01:00
parent 7916d7bac6
commit 4448f175c8
2 changed files with 13 additions and 10 deletions

View File

@ -12,6 +12,7 @@
#include "cmInstalledFile.h"
#include "cmSystemTools.h"
#include "cmMakefile.h"
#include "cmAlgorithms.h"
//----------------------------------------------------------------------------
cmInstalledFile::cmInstalledFile():
@ -29,6 +30,16 @@ cmInstalledFile::~cmInstalledFile()
}
}
cmInstalledFile::Property::Property()
{
}
cmInstalledFile::Property::~Property()
{
cmDeleteAll(this->ValueExpressions);
}
//----------------------------------------------------------------------------
void cmInstalledFile::SetName(cmMakefile* mf, const std::string& name)
{

View File

@ -13,7 +13,6 @@
#define cmInstalledFile_h
#include "cmGeneratorExpression.h"
#include "cmAlgorithms.h"
/** \class cmInstalledFile
* \brief Represents a file intended for installation.
@ -32,15 +31,8 @@ public:
struct Property
{
Property()
{
}
~Property()
{
cmDeleteAll(this->ValueExpressions);
}
Property();
~Property();
ExpressionVectorType ValueExpressions;
};