summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmMakefile.cxx2
-rw-r--r--Source/cmMakefile.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 51a07b8..f53b3bb 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 3c26c16..faa4986 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -552,6 +552,12 @@ public:
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
*/
cmSourceGroup& FindSourceGroup(const char* source,
@@ -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