mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
AUTOGEN: Generators: Group static function definitions
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user