bugfix, wrong params could break the staticexplorer

This commit is contained in:
Basile Burg 2014-07-17 07:04:12 +02:00
parent 1f07bdf5aa
commit 3b2b8362fc
1 changed files with 0 additions and 2 deletions

View File

@ -300,8 +300,6 @@ begin
dmdProc.CurrentDirectory := extractFilePath(fProj.fileName);
if fProj <> nil then for i := 0 to fProj.Sources.Count-1 do
dmdproc.Parameters.Add('-I' + fProj.getAbsoluteSourceName(i));
for nme in fProj.Sources do
dmdproc.Parameters.Add('-I' + extractFilePath(nme));
for nme in fProj.currentConfiguration.pathsOptions.Includes do
dmdproc.Parameters.Add('-I' + nme);
end;