/[projet1]/users/mmu_man/demos/viendez/osdk_execute.bat
Defence Force logotype

Contents of /users/mmu_man/demos/viendez/osdk_execute.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 862 - (show annotations)
Fri Sep 21 10:08:26 2012 UTC (7 years, 8 months ago) by mmu_man
File MIME type: text/plain
File size: 1117 byte(s)
Add sources for my 'viendez' microAlchimie2 invitro released at VIP2012.

1 @ECHO OFF
2
3
4 ::
5 :: Initial check.
6 :: Verify if the SDK is correctly configurated,
7 ::
8 IF "%OSDK%"=="" GOTO ErCfg
9
10 ::
11 :: Set the build paremeters
12 ::
13 CALL osdk_config.bat
14
15 ::
16 :: Check if the program was compiled
17 ::
18 IF NOT EXIST build\%OSDKNAME%.TAP GOTO ErBld
19
20 ::
21 :: Copy the compiled program into Euphoric folder
22 ::
23 COPY build\%OSDKNAME%.TAP %OSDK%\Euphoric\%OSDKNAME%.TAP
24 COPY build\symbols %OSDK%\Euphoric\symbols
25
26 ::
27 :: Execute the emulator
28 ::
29 SET ORIC=%OSDK%\Euphoric\
30 CD %OSDK%\Euphoric
31 CALL %OSDK%\Euphoric\Euphoric.exe %OSDK%\Euphoric\%OSDKNAME%.TAP
32 GOTO End
33
34
35 ::
36 :: Outputs an error message about configuration
37 ::
38 :ErCfg
39 ECHO == ERROR ==
40 ECHO The Oric SDK was not configured properly
41 ECHO You should have a OSDK environment variable setted to the location of the SDK
42 ECHO ===========
43 IF "%OSDKBRIEF%"=="" PAUSE
44 GOTO End
45
46 ::
47 :: Outputs an error message about compilation
48 ::
49 :ErBld
50 ECHO == ERROR ==
51 ECHO Before executing this program, you need to build it.
52 ECHO Please run OSDK_BUILD.BAT before.
53 ECHO ===========
54 IF "%OSDKBRIEF%"=="" PAUSE
55 GOTO End
56
57 :End

  ViewVC Help
Powered by ViewVC 1.1.26