[Cmake-commits] CMake branch, next, updated. v2.8.6-1761-g7b3c586
Alexander Neundorf
neundorf at kde.org
Tue Nov 1 16:29:01 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 7b3c5866979e2b5c53f9dabafa1dfd330683294b (commit)
via d31b1aca3fcf5d8c0e7ab5cbb37045ad87dead79 (commit)
from 8da9c7fa10af691853a9d9acce36836f5ca4cb19 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b3c5866979e2b5c53f9dabafa1dfd330683294b
commit 7b3c5866979e2b5c53f9dabafa1dfd330683294b
Merge: 8da9c7f d31b1ac
Author: Alexander Neundorf <neundorf at kde.org>
AuthorDate: Tue Nov 1 16:27:39 2011 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Nov 1 16:27:39 2011 -0400
Merge topic 'FixTargetsInVirtualFoldersForEclipseIndigo' into next
d31b1ac Eclipse: quote the build dir (to make it work with spaces)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d31b1aca3fcf5d8c0e7ab5cbb37045ad87dead79
commit d31b1aca3fcf5d8c0e7ab5cbb37045ad87dead79
Author: Alex Neundorf <neundorf at kde.org>
AuthorDate: Tue Nov 1 21:23:52 2011 +0100
Commit: Alex Neundorf <neundorf at kde.org>
CommitDate: Tue Nov 1 21:23:52 2011 +0100
Eclipse: quote the build dir (to make it work with spaces)
When creating the targets for Eclipse, quote the directory
in which make should change. Otherwise it will fail if the
path contains with spaces.
Alex
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index eab149e..a338031 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -998,9 +998,9 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
std::string virtDir = "[Targets]/";
virtDir += prefix;
virtDir += ti->first;
- std::string buildArgs = "-C ";
+ std::string buildArgs = "-C \"";
buildArgs += makefile->GetHomeOutputDirectory();
- buildArgs += " ";
+ buildArgs += "\" ";
buildArgs += makeArgs;
this->AppendTarget(fout, "Build", make, buildArgs, virtDir, "",
ti->first.c_str());
-----------------------------------------------------------------------
Summary of changes:
Source/cmExtraEclipseCDT4Generator.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list