forked from IndySockets/Indy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Clean_Alexandria.cmd
35 lines (26 loc) · 777 Bytes
/
Clean_Alexandria.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
set DelphiProd=Delphi 11 Alexandria
if exist SetEnv.bat del SetEnv.bat
if not exist computil.exe goto NoComputil
computil SetupD28
if defined NDD28 goto RSVARS
if not exist SetEnv.bat goto NoNDD
call SetEnv.bat > nul:
if not defined NDD28 goto NoNDD
:RSVARS
call "%NDD28%bin\rsvars.bat"
if not defined BDS goto NoBDS
set logfn=CleanD28.log
call Clean_IDE.cmd
goto END
:NoCompUtil
echo Computil.exe not found--run this batch script from the "Lib" folder of the Indy repository, recently pulled from GitHub.
goto END
:NoNDD
echo Computil.exe did not create the batch script for setting up the environment for %DelphiProd%. Aborting.
goto END
:NoBDS
echo Calling RSVars did not set up the environment for %DelphiProd%. Aborting.
:END
set logfn=
set DelphiProd=