summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-24 15:17:30 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-24 15:17:30 (GMT)
commitef6c5ae23e369a3b6fd275069856d482fe7417c1 (patch)
treee0fa7f39ae0af7da8531e0b3540fe8e9ae322e26 /Source/cmLocalUnixMakefileGenerator3.cxx
parent7157fa163c3ec559f991c6d72453f6437b7b43bc (diff)
downloadCMake-ef6c5ae23e369a3b6fd275069856d482fe7417c1.zip
CMake-ef6c5ae23e369a3b6fd275069856d482fe7417c1.tar.gz
CMake-ef6c5ae23e369a3b6fd275069856d482fe7417c1.tar.bz2
ENH: optimization to not use requires step unless a language requires it
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 54dff68..819d21f 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1082,20 +1082,6 @@ void cmLocalUnixMakefileGenerator3::WriteMainTargetIncludes(std::ostream& makefi
std::vector<std::string> depends;
std::vector<std::string> no_commands;
- // if this is the build rules also include the custom commands if there
- // were any
- if (!strcmp(rule,"build") && m_CustomRuleFiles.size())
- {
- // do the include
- std::string dir = m_Makefile->GetStartOutputDirectory();
- dir += "/CMakeCustomRules.dir/build.make";
- dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE);
- makefileStream
- << m_IncludeDirective << " "
- << this->ConvertToOutputForExisting(dir.c_str()).c_str()
- << "\n";
- }
-
// if this is the clean rules also include the custom commands if there
// were any
const char* clean_no_custom = m_Makefile->GetProperty("CLEAN_NO_CUSTOM");