Merge topic 'FixTargetsInVirtualFoldersForEclipseIndigo'
d31b1ac
Eclipse: quote the build dir (to make it work with spaces)0576331
Eclipse: make targets work from any directory
This commit is contained in:
commit
e4085569a9
|
@ -1008,7 +1008,11 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
|
||||||
std::string virtDir = "[Targets]/";
|
std::string virtDir = "[Targets]/";
|
||||||
virtDir += prefix;
|
virtDir += prefix;
|
||||||
virtDir += ti->first;
|
virtDir += ti->first;
|
||||||
this->AppendTarget(fout, "Build", make, makeArgs, virtDir, "",
|
std::string buildArgs = "-C \"";
|
||||||
|
buildArgs += makefile->GetHomeOutputDirectory();
|
||||||
|
buildArgs += "\" ";
|
||||||
|
buildArgs += makeArgs;
|
||||||
|
this->AppendTarget(fout, "Build", make, buildArgs, virtDir, "",
|
||||||
ti->first.c_str());
|
ti->first.c_str());
|
||||||
|
|
||||||
std::string cleanArgs = "-E chdir \"";
|
std::string cleanArgs = "-E chdir \"";
|
||||||
|
|
Loading…
Reference in New Issue