From 4eadf2ce3f90431fa3ae8a791fde432c6c60b5a1 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Wed, 30 Nov 2016 11:25:57 +0100 Subject: QtAutogen: Target directory name function rename --- Source/cmQtAutoGeneratorInitializer.cxx | 6 +++--- 1 file 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) { -- cgit v0.12