diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-30 10:25:57 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-06 14:59:26 (GMT) |
commit | 4eadf2ce3f90431fa3ae8a791fde432c6c60b5a1 (patch) | |
tree | 58453c1ef16ac58915a2917945132875cc6f5de1 /Source/cmQtAutoGeneratorInitializer.cxx | |
parent | 2e18801a1bf4e313fc2ec25d9a8842312728e1be (diff) | |
download | CMake-4eadf2ce3f90431fa3ae8a791fde432c6c60b5a1.zip CMake-4eadf2ce3f90431fa3ae8a791fde432c6c60b5a1.tar.gz CMake-4eadf2ce3f90431fa3ae8a791fde432c6c60b5a1.tar.bz2 |
QtAutogen: Target directory name function rename
Diffstat (limited to 'Source/cmQtAutoGeneratorInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorInitializer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGeneratorInitializer.cxx b/Source/cmQtAutoGeneratorInitializer.cxx index d444039..7aa7118 100644 --- a/Source/cmQtAutoGeneratorInitializer.cxx +++ b/Source/cmQtAutoGeneratorInitializer.cxx @@ -62,7 +62,7 @@ static std::string GetAutogenTargetName(cmGeneratorTarget const* target) return autogenTargetName; } -static std::string GetAutogenTargetDir(cmGeneratorTarget const* target) +static std::string GetAutogenTargetFilesDir(cmGeneratorTarget const* target) { cmMakefile* makefile = target->Target->GetMakefile(); std::string targetDir = makefile->GetCurrentBinaryDirectory(); @@ -683,7 +683,7 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget( // create a custom target for running generators at buildtime: std::string autogenTargetName = GetAutogenTargetName(target); - std::string targetDir = GetAutogenTargetDir(target); + std::string targetDir = GetAutogenTargetFilesDir(target); cmCustomCommandLine currentLine; currentLine.push_back(cmSystemTools::GetCMakeCommand()); @@ -851,7 +851,7 @@ void cmQtAutoGeneratorInitializer::SetupAutoGenerateTarget( "_origin_target_name", cmOutputConverter::EscapeForCMake(target->GetName()).c_str()); - std::string targetDir = GetAutogenTargetDir(target); + std::string targetDir = GetAutogenTargetFilesDir(target); const char* qtVersion = makefile->GetDefinition("Qt5Core_VERSION_MAJOR"); if (!qtVersion) { |