From 8f6468f9f224c4ede56f06c67123153de13e01cd Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 7 Mar 2001 13:23:59 -0500 Subject: [PATCH] ENH: Added Cable to Utilities and appropriate CMakeLists.txt changes. Moved VXLNumerics link out of source's root directory and into separate entries for Code and Testing directories. This prevents linking of all programs (like Cable) with the numerics library. --- Source/cmCableCommand.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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); }