summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-10-26 19:42:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-10-26 19:42:02 (GMT)
commit1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c (patch)
tree18146e750e78da7a94d3783248ac3cd61c1f240a /Source/cmConfigureFileCommand.cxx
parentf586f7df8d9ab5a432107e053452864598c6c0a7 (diff)
downloadCMake-1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c.zip
CMake-1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c.tar.gz
CMake-1c5c899fd7b9e0f5214f0e30b5dc64fa2508a27c.tar.bz2
add dependency for configure files and use short path in WIN32 cmake test
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r--Source/cmConfigureFileCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index 9f482d3..c30a63b 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -90,6 +90,7 @@ void cmConfigureFileCommand::FinalPass()
void cmConfigureFileCommand::ConfigureFile()
{
m_Makefile->ExpandVariablesInString(m_InputFile);
+ m_Makefile->AddCMakeDependFile(m_InputFile.c_str());
m_Makefile->ExpandVariablesInString(m_OuputFile);
cmSystemTools::ConvertToUnixSlashes(m_OuputFile);
std::string::size_type pos = m_OuputFile.rfind('/');