summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2012-07-18 11:39:14 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-18 11:39:14 (GMT)
commit56aeac6e6424f54455850f54f6b71ae89f065fd3 (patch)
tree80cb3152031cdee0eba0df95b035a76e1f4dbd88
parent7a6bc9e987b1f98529b5a43846eaa9fc7921f9da (diff)
downloadCMake-56aeac6e6424f54455850f54f6b71ae89f065fd3.zip
CMake-56aeac6e6424f54455850f54f6b71ae89f065fd3.tar.gz
CMake-56aeac6e6424f54455850f54f6b71ae89f065fd3.tar.bz2
Ninja: fixes for bcc
-rw-r--r--Source/cmMakefileTargetGenerator.h2
-rw-r--r--Source/cmNinjaTargetGenerator.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index 3ea524b..2798e54 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -51,6 +51,7 @@ public:
{ return this->ProgressFileNameFull; }
cmTarget* GetTarget() { return this->Target;}
+
protected:
// create the file and directory etc
@@ -85,6 +86,7 @@ protected:
private:
cmMakefileTargetGenerator* Generator;
};
+ friend struct MacOSXContentGeneratorType;
// write the rules for an object
void WriteObjectRuleFiles(cmSourceFile& source);
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index fb45837..84573ce 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -127,7 +127,7 @@ protected:
private:
cmNinjaTargetGenerator* Generator;
};
-
+ friend struct MacOSXContentGeneratorType;
protected:
MacOSXContentGeneratorType* MacOSXContentGenerator;