diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 51a07b81c..f53b3bb10 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2271,7 +2271,7 @@ void cmMakefile::ConfigureString(const std::string& input, } int cmMakefile::ConfigureFile(const char* infile, const char* outfile, - int copyonly, int atOnly, int escapeQuotes) + bool copyonly, bool atOnly, bool escapeQuotes) { std::string soutfile = outfile; std::string sinfile = infile; diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 3c26c1692..faa49869e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -551,6 +551,12 @@ public: void ConfigureString(const std::string& input, std::string& output, bool atOnly, bool escapeQuotes); + /** + * Copy file but change lines acording to ConfigureString + */ + int ConfigureFile(const char* infile, const char* outfile, + bool copyonly, bool atOnly, bool escapeQuotes); + /** * find what source group this source is in */ @@ -629,12 +635,6 @@ public: * Return a location of a file in cmake or custom modules directory */ std::string GetModulesFile(const char* name); - - /** - * Copy file but change lines acording to ConfigureString - */ - int ConfigureFile(const char* infile, const char* outfile, - int copyonly, int atOnly, int escapeQuotes); protected: // add link libraries and directories to the target