ENH: Patch from Alex to fix current working directory when running executables built in KDevelop.
This commit is contained in:
parent
51607bd675
commit
11d5caf201
|
@ -382,7 +382,7 @@ void cmGlobalKdevelopGenerator
|
||||||
fout<<" <run>\n";
|
fout<<" <run>\n";
|
||||||
fout<<" <mainprogram>"<<executable.c_str()<<"</mainprogram>\n";
|
fout<<" <mainprogram>"<<executable.c_str()<<"</mainprogram>\n";
|
||||||
fout<<" <directoryradio>custom</directoryradio>\n";
|
fout<<" <directoryradio>custom</directoryradio>\n";
|
||||||
fout<<" <customdirectory>/</customdirectory>\n";
|
fout<<" <customdirectory>"<<outputDir.c_str()<<"</customdirectory>\n";
|
||||||
fout<<" <programargs></programargs>\n";
|
fout<<" <programargs></programargs>\n";
|
||||||
fout<<" <terminal>false</terminal>\n";
|
fout<<" <terminal>false</terminal>\n";
|
||||||
fout<<" <autocompile>true</autocompile>\n";
|
fout<<" <autocompile>true</autocompile>\n";
|
||||||
|
|
Loading…
Reference in New Issue