summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-16 19:33:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:12:52 (GMT)
commit54d6a9187f24bbff9e344d8aa6b3c0d66167094d (patch)
tree38e6b82b92d62335a89cdc5b59835cc94c33f052 /Source/cmQtAutoGenerators.cxx
parent55d80d0a8557189400bc12c5e577702a4d03b2e6 (diff)
downloadCMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.zip
CMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.tar.gz
CMake-54d6a9187f24bbff9e344d8aa6b3c0d66167094d.tar.bz2
cmMakefile: Rename GetCurrent{Output,Binary}Directory.
Match names used in CMake code.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 3d5103f..9e75663 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -162,7 +162,7 @@ static std::string getAutogenTargetName(cmTarget const* target)
static std::string getAutogenTargetDir(cmTarget const* target)
{
cmMakefile* makefile = target->GetMakefile();
- std::string targetDir = makefile->GetCurrentOutputDirectory();
+ std::string targetDir = makefile->GetCurrentBinaryDirectory();
targetDir += makefile->GetCMakeInstance()->GetCMakeFilesDirectory();
targetDir += "/";
targetDir += getAutogenTargetName(target);
@@ -291,7 +291,7 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
if (target->GetPropertyAsBool("AUTOMOC"))
{
std::string automocTargetName = getAutogenTargetName(target);
- std::string mocCppFile = makefile->GetCurrentOutputDirectory();
+ std::string mocCppFile = makefile->GetCurrentBinaryDirectory();
mocCppFile += "/";
mocCppFile += automocTargetName;
mocCppFile += ".cpp";
@@ -317,7 +317,7 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
commandLines.push_back(currentLine);
std::string workingDirectory = cmSystemTools::CollapseFullPath(
- "", makefile->GetCurrentOutputDirectory());
+ "", makefile->GetCurrentBinaryDirectory());
std::vector<std::string> depends;
if (const char *autogenDepends =