cmInstalledFile: Move Property implementation out of line.
Don't require re-building the world when changing cmAlgorithms.h.
This commit is contained in:
parent
7916d7bac6
commit
4448f175c8
|
@ -12,6 +12,7 @@
|
||||||
#include "cmInstalledFile.h"
|
#include "cmInstalledFile.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
#include "cmAlgorithms.h"
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
cmInstalledFile::cmInstalledFile():
|
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)
|
void cmInstalledFile::SetName(cmMakefile* mf, const std::string& name)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#define cmInstalledFile_h
|
#define cmInstalledFile_h
|
||||||
|
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpression.h"
|
||||||
#include "cmAlgorithms.h"
|
|
||||||
|
|
||||||
/** \class cmInstalledFile
|
/** \class cmInstalledFile
|
||||||
* \brief Represents a file intended for installation.
|
* \brief Represents a file intended for installation.
|
||||||
|
@ -32,15 +31,8 @@ public:
|
||||||
|
|
||||||
struct Property
|
struct Property
|
||||||
{
|
{
|
||||||
Property()
|
Property();
|
||||||
{
|
~Property();
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
~Property()
|
|
||||||
{
|
|
||||||
cmDeleteAll(this->ValueExpressions);
|
|
||||||
}
|
|
||||||
|
|
||||||
ExpressionVectorType ValueExpressions;
|
ExpressionVectorType ValueExpressions;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue