diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-09-06 21:29:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:13 (GMT) |
commit | e13e519e1c3f76b826365b5fa72a50dba180c191 (patch) | |
tree | 85e9c3d6c9fb959d1dfe5093aba5c0fdf09ccfc9 /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 34c6e995f9ac1c62540b68dd50934c8c0be98b7f (diff) | |
download | CMake-e13e519e1c3f76b826365b5fa72a50dba180c191.zip CMake-e13e519e1c3f76b826365b5fa72a50dba180c191.tar.gz CMake-e13e519e1c3f76b826365b5fa72a50dba180c191.tar.bz2 |
Convert: Move access to BinaryDirectory out of loops
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index d1be0c7..61f2851 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -914,7 +914,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const const std::vector<cmGeneratorTarget*> targets = (*it)->GetGeneratorTargets(); std::string subdir = (*it)->ConvertToRelativePath( - (*it)->GetBinaryDirectory(), (*it)->GetCurrentBinaryDirectory()); + this->HomeOutputDirectory, (*it)->GetCurrentBinaryDirectory()); if (subdir == ".") { subdir = ""; } |