diff options
author | David Cole <david.cole@kitware.com> | 2011-01-11 22:34:06 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-01-11 22:57:55 (GMT) |
commit | 66d9cd83519962f320d4b6edefeb15ae250107ae (patch) | |
tree | bad108fc33cddb8e5594ee0fe1ca60e5612d536c /Source/cmGlobalXCodeGenerator.cxx | |
parent | 28a0403c3491d4a96f5dc827e54442a1d0a0dea7 (diff) | |
download | CMake-66d9cd83519962f320d4b6edefeb15ae250107ae.zip CMake-66d9cd83519962f320d4b6edefeb15ae250107ae.tar.gz CMake-66d9cd83519962f320d4b6edefeb15ae250107ae.tar.bz2 |
Xcode: Disable implicit make rules in custom rules makefiles.
With apologies to the suggester for not accenting the surname
vowel properly.
Suggested-By: Johan Bjork
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 59ca38f..edb8e0e 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -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; |