diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-03-09 00:05:04 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-03-09 00:05:04 (GMT) |
commit | 3f752ea4cdc91b1abc956583e1309070a71463b3 (patch) | |
tree | 3b7431b3bdd0c02eb51f53ecac681fc0a14b25a3 /Source/cmMakefile.h | |
parent | 4990e1481d378e89a0d07d1a25d882a38530db31 (diff) | |
download | CMake-3f752ea4cdc91b1abc956583e1309070a71463b3.zip CMake-3f752ea4cdc91b1abc956583e1309070a71463b3.tar.gz CMake-3f752ea4cdc91b1abc956583e1309070a71463b3.tar.bz2 |
ENH: Move implementation of configure_file to cmMakefile, so that other classes can use it
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index ffba58d..3c26c16 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -629,6 +629,12 @@ 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 |