ENH: CABLE config file (config_cable.xml) should now be opened in the output directory.
This commit is contained in:
parent
dc72655414
commit
b6d1cda20e
|
@ -68,5 +68,7 @@ void cmCableCommand::SetupCableData()
|
|||
// We didn't find another cmCableCommand with a valid cmCableData.
|
||||
// We must allocate the new cmCableData ourselves, and with this
|
||||
// command as its owner.
|
||||
m_CableData = new cmCableData(this);
|
||||
std::string pathName = m_Makefile->GetStartOutputDirectory();
|
||||
pathName += "/cable_config.xml";
|
||||
m_CableData = new cmCableData(this, pathName);
|
||||
}
|
||||
|
|
|
@ -22,13 +22,14 @@
|
|||
* The cmCableData instance is owned by one cmCableCommand, which is given
|
||||
* to this constructor.
|
||||
*/
|
||||
cmCableData::cmCableData(const cmCableCommand* owner):
|
||||
cmCableData::cmCableData(const cmCableCommand* owner,
|
||||
const std::string& configurationFile):
|
||||
m_Owner(owner),
|
||||
m_Indentation(0),
|
||||
m_Package(NULL),
|
||||
m_PackageNamespaceDepth(0)
|
||||
{
|
||||
this->OpenOutputFile("cable_config.xml");
|
||||
this->OpenOutputFile(configurationFile);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class cmCablePackageCommand;
|
|||
class cmCableData
|
||||
{
|
||||
public:
|
||||
cmCableData(const cmCableCommand*);
|
||||
cmCableData(const cmCableCommand*, const std::string&);
|
||||
~cmCableData();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue