Einzelnen Beitrag anzeigen

Benutzerbild von sh17
sh17

Registriert seit: 26. Okt 2005
Ort: Radebeul
1.640 Beiträge
 
Delphi 11 Alexandria
 
#2

Re: Compilieren per Kommandozeile

  Alt 26. Feb 2007, 17:22
per batch auf?

probier es mal so:
Delphi-Quellcode:
cd ..\srcpfadmitdemprojekt\

echo /$A4 > dcc32.cfg
echo /$B- >> dcc32.cfg
echo /$C- >> dcc32.cfg
echo /$D- >> dcc32.cfg
echo /$E- >> dcc32.cfg
echo /$F- >> dcc32.cfg
echo /$G+ >> dcc32.cfg
echo /$H+ >> dcc32.cfg
echo /$I+ >> dcc32.cfg
echo /$J- >> dcc32.cfg
echo /$K- >> dcc32.cfg
echo /$L- >> dcc32.cfg
echo /$M- >> dcc32.cfg
echo /$N+ >> dcc32.cfg
echo /$O- >> dcc32.cfg
echo /$P+ >> dcc32.cfg
echo /$Q- >> dcc32.cfg
echo /$R- >> dcc32.cfg
echo /$S- >> dcc32.cfg
echo /$T- >> dcc32.cfg
echo /$U+ >> dcc32.cfg
echo /$V+ >> dcc32.cfg
echo /$W- >> dcc32.cfg
echo /$X+ >> dcc32.cfg
echo /$Y- >> dcc32.cfg
echo /$Z1 >> dcc32.cfg
echo /cg >> dcc32.cfg
echo /AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;
       DbiProcs=BDE;DbiErrs=BDE; >> dcc32.cfg
echo /H+ >> dcc32.cfg
echo /W+ >> dcc32.cfg
echo /M- >> dcc32.cfg
echo /$M16384,1048576 >> dcc32.cfg
echo /B >> dcc32.cfg
echo /K$00400000 >> dcc32.cfg
rem echo -Q >> dcc32.cfg
echo /ND:\Temp\dcu >> dcc32.cfg
echo /LE >> dcc32.cfg
echo /LN >> dcc32.cfg
echo /LUvcl;rtl;vclx;VclSmp;vclshlctrls;dbrtl;adortl;vcldb;
        qrpt;bdertl;vcldbx;dsnap;cds;bdecds;teeui;teedb;tee;
        teeqr;ibxpress;visualclx;visualdbclx;vclie;xmlrtl;inet;
        inetdbbde;inetdbxpress;inetdb;nmfast;dbexpress;dbxcds;
        dclOffice2k;soaprtl;undweiterepackages >> dcc32.cfg
echo /I"C:\Programme\BORLAND\DELPHI6\LIB;C:\Programme\BORLAND\DELPHI6\BIN;
        C:\Programme\BORLAND\DELPHI6\IMPORTS;UNDWEITEREPFADE" >> dcc32.cfg
echo /U"C:\Programme\BORLAND\DELPHI6\LIB;C:\Programme\BORLAND\DELPHI6\BIN;
        C:\Programme\BORLAND\DELPHI6\IMPORTS;;UNDWEITEREPFADE" >> dcc32.cfg

del /q d:\output\meinprojekt.exe

rename meinprojekt.cfg meinprojekt.c

c:\programme\borland\delphi6\bin\dcc32.exe meinprojekt.dpr -E"D:\output" -DSAX_WIDESTRINGS;XML_WIDESTRINGS

rename meinprojekt.c meinprojekt.cfg

del dcc32.cfg

cd d:\wohinauchimmer\
pause
//Edit: hab mal die Zeilen gekürzt
Sven Harazim
--
  Mit Zitat antworten Zitat