summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-07 18:23:59 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-07 18:23:59 (GMT)
commit8f6468f9f224c4ede56f06c67123153de13e01cd (patch)
tree8dddc8312bb320c6a64adaefb9d903b89fa98f23
parent278bcbd7be5ff39973221a5cb7bebcbc02e943f9 (diff)
downloadCMake-8f6468f9f224c4ede56f06c67123153de13e01cd.zip
CMake-8f6468f9f224c4ede56f06c67123153de13e01cd.tar.gz
CMake-8f6468f9f224c4ede56f06c67123153de13e01cd.tar.bz2
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.
-rw-r--r--Source/cmCableCommand.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCableCommand.cxx b/Source/cmCableCommand.cxx
index df6b6e3..90f8bb6 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<string> depends;
+ depends.push_back("cable_config.xml");
+ m_Makefile->AddCustomCommand("source_cable_config.xml",
+ "result_file",
+ "cable cable_config.xml",
+ depends);
}