diff --git a/Source/cmCableCommand.cxx b/Source/cmCableCommand.cxx index df6b6e323..90f8bb633 100644 --- a/Source/cmCableCommand.cxx +++ b/Source/cmCableCommand.cxx @@ -71,4 +71,11 @@ void cmCableCommand::SetupCableData() std::string pathName = m_Makefile->GetStartOutputDirectory(); pathName += "/cable_config.xml"; m_CableData = new cmCableData(this, pathName); + + std::vector depends; + depends.push_back("cable_config.xml"); + m_Makefile->AddCustomCommand("source_cable_config.xml", + "result_file", + "cable cable_config.xml", + depends); }