removed invalid warning messages when pre/post build process name is empty

This commit is contained in:
Basile Burg 2014-08-09 23:54:38 +02:00
parent 98253a3d30
commit 8ff9aedc3d
1 changed files with 32 additions and 30 deletions

View File

@ -1212,6 +1212,7 @@ begin
with fProject.currentConfiguration do
begin
if preBuildProcess.executable <> '' then
if ExeSearch(preBuildProcess.executable, '') <> '' then
begin
ppproc := TProcess.Create(nil);
try
@ -1266,6 +1267,7 @@ begin
with fProject.currentConfiguration do
begin
if postBuildProcess.executable <> '' then
if ExeSearch(postBuildProcess.executable, '') <> '' then
begin
ppproc := TProcess.Create(nil);
try