summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-04-27 18:57:48 (GMT)
committerBrad King <brad.king@kitware.com>2001-04-27 18:57:48 (GMT)
commit13143f51d2f7096efc90624045f2b9ae26cc1fcd (patch)
treec6df1edc2f8cf1c6951613898ab7f9c85dfb57eb
parent244892bc3bd51f16c2e80a924bbae786f5e2acc3 (diff)
downloadCMake-13143f51d2f7096efc90624045f2b9ae26cc1fcd.zip
CMake-13143f51d2f7096efc90624045f2b9ae26cc1fcd.tar.gz
CMake-13143f51d2f7096efc90624045f2b9ae26cc1fcd.tar.bz2
ERR: Renamed CustomCommands to BuildRules to match change in cmSourceGroup.
-rw-r--r--Source/cmUnixMakefileGenerator.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 0e47d71..82b1821 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -464,9 +464,8 @@ void cmUnixMakefileGenerator::OutputCustomRules(std::ostream& fout)
for(std::vector<cmSourceGroup>::const_iterator sg =
sourceGroups.begin(); sg != sourceGroups.end(); ++sg)
{
- const cmSourceGroup::CustomCommands& customCommands =
- sg->GetCustomCommands();
- if(customCommands.empty())
+ const cmSourceGroup::BuildRules& buildRules = sg->GetBuildRules();
+ if(buildRules.empty())
{ continue; }
std::string name = sg->GetName();
@@ -476,8 +475,8 @@ void cmUnixMakefileGenerator::OutputCustomRules(std::ostream& fout)
}
// Loop through each source in the source group.
- for(cmSourceGroup::CustomCommands::const_iterator cc =
- customCommands.begin(); cc != customCommands.end(); ++ cc)
+ for(cmSourceGroup::BuildRules::const_iterator cc =
+ buildRules.begin(); cc != buildRules.end(); ++ cc)
{
std::string source = cc->first;
const cmSourceGroup::Commands& commands = cc->second;