summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-19 19:28:09 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-19 19:28:09 (GMT)
commit9ea63c581b466e0bb31db1b5750e3b588e5a6497 (patch)
tree82ca28ce11ef5f4d3280816ec37352c88d971581
parent6c075284f61b4abce8feb79779b6222987f26697 (diff)
parent66d9cd83519962f320d4b6edefeb15ae250107ae (diff)
downloadCMake-9ea63c581b466e0bb31db1b5750e3b588e5a6497.zip
CMake-9ea63c581b466e0bb31db1b5750e3b588e5a6497.tar.gz
CMake-9ea63c581b466e0bb31db1b5750e3b588e5a6497.tar.bz2
Merge topic 'fix-xcode-custom-rules-makefile'
66d9cd8 Xcode: Disable implicit make rules in custom rules makefiles.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
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;