diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-12 22:50:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-13 14:27:23 (GMT) |
commit | c725bb3cbd51edd4043f81d01b7a01bbd42adb2f (patch) | |
tree | b4bfc2adbb46ea55af5bae98273d20b8cc0ec171 /Source/cmMakefileTargetGenerator.h | |
parent | dcfcd23ed53d3bfe8ef299b8a3a38c47c27fa6b6 (diff) | |
download | CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.zip CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.tar.gz CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.tar.bz2 |
Constify some APIs in generators.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index f59bd9b..7ff6da9 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); |