Fixup issues with devtools.dpr stalling Delphi Starter build

This commit is contained in:
Marc Durdin 2017-08-10 14:52:03 +07:00
parent c9cba58232
commit d32d549639
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,13 @@ build: dirs
# build with DCC32 as $DCC32 command uses devtools.exe...
# $(DCC32) devtools.dpr
!IFDEF DELPHI_STARTER
start /wait $(MAKEDIR)\bds.exe -ns -b devtools.dpr
# We have a catch-22. We use devtools to do a build of devtools
# because otherwise Delphi IDE can stall with a spurious 'changed
# files' confirmation. So first use a static copy of devtools to
# kick things off, then replace it with a new copy once done.
# What a silly world we live in :)
copy devtools.bin $(PROGRAM)\buildtools\devtools.exe
$(DCC32) devtools.dpr
!ELSE
$(MAKEDIR)\dcc32 -Q -B -E. -NSVcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Web;Soap;Winapi;System.Win devtools.dpr
!ENDIF

Binary file not shown.