forked from neurolabusc/MRIcroGL10_OLD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_delphizip.bat
executable file
·25 lines (19 loc) · 1.06 KB
/
_delphizip.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
REM copy latest version of dcm2niix
cd c:\dcm2niix\console
g++ -O3 -DmyDisableOpenJPEG -I. main_console.cpp nii_dicom.cpp nifti1_io_core.cpp nii_ortho.cpp nii_dicom_batch.cpp jpg_0XC3.cpp ujpeg.cpp -s -o dcm2niix -static-libgcc
copy c:\dcm2niix\console\dcm2niix.exe c:\mricrogl\dcm2niix.exe
REM COMPILE MRIcroGL
cd c:\pas\MRIcroGL
c:\lazarus\lazbuild --cpu=x86_64 -B simplelaz.lpi
move /Y "C:\pas\MRIcroGL\MRIcroGL.exe" "c:\mricrogl\MRIcroGL64.exe"
C:\PROGRA~2\BORLAND\DELPHI7\BIN\dcc32 -UC:\pas\FastMM;C:\pas\pascalscript\Source;C:\pas\MRIcroGL\pngimg;C:\pas\MRIcroGL\delphionly -B C:\pas\MRIcroGL\simple.dpr
c:\strip /B "C:\pas\MRIcroGL\simple.exe"
move /Y "C:\pas\MRIcroGL\simple.exe" "c:\mricrogl\MRIcroGL.exe"
REM copy new compilation to server
del c:\mricrogl\*.ini
c:\Progra~1\7-Zip\7z a -tzip c:\pas\windows.zip c:\mricrogl
REM copy c:\pas\windows.zip W:\mcbi\MCBI\CRNL\sw\mricrogl\windows.zip
call _clean.bat
c:\Progra~1\7-Zip\7z a -tzip c:\pas\source.zip c:\pas\MRIcroGL
REM copy source to server
REM copy c:\pas\source.zip W:\mcbi\MCBI\CRNL\sw\mricrogl\source.zip