Rev 335 | Rev 416 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 335 | Rev 342 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | SET FILE3=in\FilterFoundry_mingw.8bf |
30 | SET FILE3=in\FilterFoundry_mingw.8bf |
31 | if not exist %FILE1% ( |
31 | if not exist %FILE1% ( |
32 | if not exist %FILE2% ( |
32 | if not exist %FILE2% ( |
33 | if not exist %FILE3% ( |
33 | if not exist %FILE3% ( |
34 | echo No compiled 32 bit file found! Stop. |
34 | echo No compiled 32 bit file found! Stop. |
- | 35 | rem We must output 0 to make sure that the very first compilation (where 32/64 does not exist) does not fail |
|
35 | exit |
36 | exit /b 0 |
36 | ) |
37 | ) |
37 | ) |
38 | ) |
38 | ) |
39 | ) |
39 | FOR /F %%i IN ('DIR /B /O:D %FILE1% %FILE2% %FILE3%') DO SET NEWEST=%%i |
40 | FOR /F %%i IN ('DIR /B /O:D %FILE1% %FILE2% %FILE3%') DO SET NEWEST=%%i |
40 | if "%NEWEST%" == "FilterFoundry_wpj.8bf" ( |
41 | if "%NEWEST%" == "FilterFoundry_wpj.8bf" ( |
Line 67... | Line 68... | ||
67 | SET FILE1=in\FilterFoundry64_vc.8bf |
68 | SET FILE1=in\FilterFoundry64_vc.8bf |
68 | SET FILE2=in\FilterFoundry64_mingw.8bf |
69 | SET FILE2=in\FilterFoundry64_mingw.8bf |
69 | if not exist %FILE1% ( |
70 | if not exist %FILE1% ( |
70 | if not exist %FILE2% ( |
71 | if not exist %FILE2% ( |
71 | echo No compiled 64 bit file found! Stop. |
72 | echo No compiled 64 bit file found! Stop. |
- | 73 | rem We must output 0 to make sure that the very first compilation (where 32/64 does not exist) does not fail |
|
72 | exit |
74 | exit /b 0 |
73 | ) |
75 | ) |
74 | ) |
76 | ) |
75 | FOR /F %%i IN ('DIR /B /O:D %FILE1% %FILE2%') DO SET NEWEST=%%i |
77 | FOR /F %%i IN ('DIR /B /O:D %FILE1% %FILE2%') DO SET NEWEST=%%i |
76 | if "%NEWEST%" == "FilterFoundry64_vc.8bf" ( |
78 | if "%NEWEST%" == "FilterFoundry64_vc.8bf" ( |
77 | set X64COMPILER=VisualCPP |
79 | set X64COMPILER=VisualCPP |