diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-27 17:37:30 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-01-10 11:49:14 (GMT) |
commit | f962275987e17cf94da663a919f52b6d0c8f44f4 (patch) | |
tree | 90aec36c8b69294d7f37255e5f9e2d1dcd2ef5fc /Source/cmQtAutoGenerators.cxx | |
parent | c736c41ad192c89e1c74751a8f401c75955f5f3b (diff) | |
download | CMake-f962275987e17cf94da663a919f52b6d0c8f44f4.zip CMake-f962275987e17cf94da663a919f52b6d0c8f44f4.tar.gz CMake-f962275987e17cf94da663a919f52b6d0c8f44f4.tar.bz2 |
AUTOGEN: Generators: Group static function definitions
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 6a7f828..561e566 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -80,6 +80,15 @@ static bool FileNameIsUnique(const std::string& filePath, return true; } +static std::string ReadAll(const std::string& filename) +{ + cmsys::ifstream file(filename.c_str()); + std::ostringstream stream; + stream << file.rdbuf(); + file.close(); + return stream.str(); +} + cmQtAutoGenerators::cmQtAutoGenerators() : Verbose(cmsys::SystemTools::HasEnv("VERBOSE")) , ColorOutput(true) @@ -472,15 +481,6 @@ void cmQtAutoGenerators::Init() } } -static std::string ReadAll(const std::string& filename) -{ - cmsys::ifstream file(filename.c_str()); - std::ostringstream stream; - stream << file.rdbuf(); - file.close(); - return stream.str(); -} - bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile) { // If settings changed everything needs to be re-generated. |