summaryrefslogtreecommitdiffstats
path: root/Source/cmQTWrapCPPCommand.cxx
diff options
context:
space:
mode:
authorFranck Bettinger <bettingf@cs.man.ac.uk>2001-11-09 17:07:37 (GMT)
committerFranck Bettinger <bettingf@cs.man.ac.uk>2001-11-09 17:07:37 (GMT)
commit53d0de2a9f0359396b48e398f79030a733fcb5de (patch)
tree072e28fd0fc0093f239ee460d62102fab14920f1 /Source/cmQTWrapCPPCommand.cxx
parentbecce939a2ca00ee15b7beb722dea311efdd2573 (diff)
downloadCMake-53d0de2a9f0359396b48e398f79030a733fcb5de.zip
CMake-53d0de2a9f0359396b48e398f79030a733fcb5de.tar.gz
CMake-53d0de2a9f0359396b48e398f79030a733fcb5de.tar.bz2
cleanups
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r--Source/cmQTWrapCPPCommand.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx
index 5bc701e..adbd036 100644
--- a/Source/cmQTWrapCPPCommand.cxx
+++ b/Source/cmQTWrapCPPCommand.cxx
@@ -103,7 +103,6 @@ bool cmQTWrapCPPCommand::InitialPass(std::vector<std::string> const& args)
// add starting depends
file.GetDepends().push_back(hname);
m_WrapClasses.push_back(file);
- m_OriginalNames.push_back(curr.GetSourceName());
}
}
}
@@ -123,7 +122,13 @@ void cmQTWrapCPPCommand::FinalPass()
// wrap all the .h files
depends.push_back(moc_exe);
- std::string moc_list("");
+ const char * GENERATED_QT_FILES_value=
+ m_Makefile->GetDefinition("GENERATED_QT_FILES");
+ std::string moc_list("");
+ if (GENERATED_QT_FILES_value!=0)
+ {
+ moc_list=moc_list+GENERATED_QT_FILES_value;
+ }
for(int classNum = 0; classNum < lastClass; classNum++)
{