summaryrefslogtreecommitdiff
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-12 23:50:42 +0100
committerStephen Kelly <steveire@gmail.com>2014-03-13 15:27:23 +0100
commitc725bb3cbd51edd4043f81d01b7a01bbd42adb2f (patch)
treeb4bfc2adbb46ea55af5bae98273d20b8cc0ec171 /Source/cmMakefileTargetGenerator.h
parentdcfcd23ed53d3bfe8ef299b8a3a38c47c27fa6b6 (diff)
downloadcmake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.tar.gz
Constify some APIs in generators.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index f59bd9ba40..7ff6da9c18 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -89,16 +89,16 @@ protected:
friend struct MacOSXContentGeneratorType;
// write the rules for an object
- void WriteObjectRuleFiles(cmSourceFile& source);
+ void WriteObjectRuleFiles(cmSourceFile const& source);
// write the build rule for an object
void WriteObjectBuildFile(std::string &obj,
const std::string& lang,
- cmSourceFile& source,
+ cmSourceFile const& source,
std::vector<std::string>& depends);
// write the depend.make file for an object
- void WriteObjectDependRules(cmSourceFile& source,
+ void WriteObjectDependRules(cmSourceFile const& source,
std::vector<std::string>& depends);
// write the build rule for a custom command
@@ -126,7 +126,8 @@ protected:
// Return the a string with -F flags on apple
std::string GetFrameworkFlags(std::string const& l);
- void AppendFortranFormatFlags(std::string& flags, cmSourceFile& source);
+ void AppendFortranFormatFlags(std::string& flags,
+ cmSourceFile const& source);
// append intertarget dependencies
void AppendTargetDepends(std::vector<std::string>& depends);