diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-06 23:17:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-08 22:00:19 (GMT) |
commit | 12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b (patch) | |
tree | 22424e05eb3914000b2eb8f95cad7a55c13ef127 /Source/cmExtraCodeLiteGenerator.cxx | |
parent | 72efa15dc26b5f63a477ec537edfdffb54ecb691 (diff) | |
download | CMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.zip CMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.tar.gz CMake-12cb3bdce4b40c39b8697bbf89ea8aace6aeae8b.tar.bz2 |
cmLocalGenerator: Add Home directory accessors.
Reduce reasons for cmLocalGenerator to have a cmMakefile.
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeLiteGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.cxx b/Source/cmExtraCodeLiteGenerator.cxx index 8fb4dce..c22b786 100644 --- a/Source/cmExtraCodeLiteGenerator.cxx +++ b/Source/cmExtraCodeLiteGenerator.cxx @@ -69,11 +69,11 @@ void cmExtraCodeLiteGenerator::Generate() this->ConfigName = GetConfigurationName( mf ); if (strcmp(mf->GetCurrentBinaryDirectory(), - mf->GetHomeOutputDirectory()) == 0) + it->second[0]->GetBinaryDirectory()) == 0) { workspaceOutputDir = mf->GetCurrentBinaryDirectory(); workspaceProjectName = it->second[0]->GetProjectName(); - workspaceSourcePath = mf->GetHomeDirectory(); + workspaceSourcePath = it->second[0]->GetSourceDirectory(); workspaceFileName = workspaceOutputDir+"/"; workspaceFileName += workspaceProjectName + ".workspace"; this->WorkspacePath = mf->GetCurrentBinaryDirectory();; |