Merge topic 'fix-xcode-custom-rules-makefile'

66d9cd8 Xcode: Disable implicit make rules in custom rules makefiles.
This commit is contained in:
Brad King 2011-01-19 14:28:09 -05:00 committed by CMake Topic Stage
commit 9ea63c581b
1 changed files with 3 additions and 0 deletions

View File

@ -1279,6 +1279,9 @@ void cmGlobalXCodeGenerator
makefileStream << "# Generated by CMake, DO NOT EDIT\n";
makefileStream << "# Custom rules for " << target.GetName() << "\n";
// disable the implicit rules
makefileStream << ".SUFFIXES: " << "\n";
// have all depend on all outputs
makefileStream << "all: ";
std::map<const cmCustomCommand*, cmStdString> tname;