diff options
-rw-r--r-- | Source/cmCustomCommand.cxx | 2 | ||||
-rw-r--r-- | Source/cmCustomCommand.h | 2 | ||||
-rw-r--r-- | Source/cmMakefile.cxx | 2 | ||||
-rw-r--r-- | Source/cmMakefile.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx index 3620a38..b672148 100644 --- a/Source/cmCustomCommand.cxx +++ b/Source/cmCustomCommand.cxx @@ -64,7 +64,7 @@ cmCustomCommand& cmCustomCommand::operator=(cmCustomCommand const& r) } //---------------------------------------------------------------------------- -cmCustomCommand::cmCustomCommand(cmMakefile* mf, +cmCustomCommand::cmCustomCommand(cmMakefile const* mf, const std::vector<std::string>& outputs, const std::vector<std::string>& depends, const cmCustomCommandLines& commandLines, diff --git a/Source/cmCustomCommand.h b/Source/cmCustomCommand.h index e20d2bf..6851105 100644 --- a/Source/cmCustomCommand.h +++ b/Source/cmCustomCommand.h @@ -30,7 +30,7 @@ public: cmCustomCommand& operator=(cmCustomCommand const& r); /** Main constructor specifies all information for the command. */ - cmCustomCommand(cmMakefile* mf, + cmCustomCommand(cmMakefile const* mf, const std::vector<std::string>& outputs, const std::vector<std::string>& depends, const cmCustomCommandLines& commandLines, diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 99aad51..006f971 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -884,7 +884,7 @@ cmMakefile::AddCustomCommandToTarget(const char* target, cmTarget::CustomCommandType type, const char* comment, const char* workingDir, - bool escapeOldStyle) + bool escapeOldStyle) const { // Find the target to which to add the custom command. cmTargets::iterator ti = this->Targets.find(target); diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 1e90122..5622b7f 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -173,7 +173,7 @@ public: const cmCustomCommandLines& commandLines, cmTarget::CustomCommandType type, const char* comment, const char* workingDir, - bool escapeOldStyle = true); + bool escapeOldStyle = true) const; cmSourceFile* AddCustomCommandToOutput( const std::vector<std::string>& outputs, const std::vector<std::string>& depends, |