Line | |
---|
1 | @ECHO OFF |
---|
2 | |
---|
3 | REM # |
---|
4 | REM # File produced by the obuild tool version 1.0 |
---|
5 | REM # for the package bhep with version v1r4p2. |
---|
6 | REM # |
---|
7 | |
---|
8 | REM #//////////////////////////////////////////////// |
---|
9 | REM # Usage : |
---|
10 | REM # DOS> setup |
---|
11 | REM # or : |
---|
12 | REM # DOS> setup.bat |
---|
13 | REM # or : |
---|
14 | REM # DOS> call setup.bat |
---|
15 | REM #//////////////////////////////////////////////// |
---|
16 | |
---|
17 | SET obuild_bhep_path=%~dp0 |
---|
18 | REM # Remove ending \obuild\ |
---|
19 | SET obuild_bhep_path=%obuild_bhep_path:~0,-8% |
---|
20 | |
---|
21 | IF "%OBUILD_PLATFORM%" == "" ( |
---|
22 | IF "%OS%" == "" ECHO Environment variable OS not found. & GOTO obuild_return |
---|
23 | SET obuild_platform=%OS% |
---|
24 | ) ELSE ( |
---|
25 | SET obuild_platform=%OBUILD_PLATFORM% |
---|
26 | ) |
---|
27 | |
---|
28 | IF "%obuild_platform%" == "" ( |
---|
29 | ECHO obuild_platform variable not defined. |
---|
30 | GOTO obuild_return |
---|
31 | ) |
---|
32 | |
---|
33 | IF "%OBUILD_DIR_BIN%" == "" ( |
---|
34 | SET obuild_dir_bin=bin_obuild |
---|
35 | ) ELSE ( |
---|
36 | SET obuild_dir_bin=%OBUILD_DIR_BIN% |
---|
37 | ) |
---|
38 | |
---|
39 | IF "%obuild_dir_bin%" == "" ( |
---|
40 | ECHO obuild_dir_bin variable not defined. |
---|
41 | GOTO obuild_return |
---|
42 | ) |
---|
43 | |
---|
44 | REM # Set environment variables of this package : |
---|
45 | |
---|
46 | IF DEFINED PATH GOTO else_if_path_bhep_0 |
---|
47 | SET PATH=%obuild_bhep_path%\%obuild_dir_bin% |
---|
48 | GOTO end_if_path_bhep_0 |
---|
49 | :else_if_path_bhep_0 |
---|
50 | SET PATH=%PATH%;%obuild_bhep_path%\%obuild_dir_bin% |
---|
51 | :end_if_path_bhep_0 |
---|
52 | |
---|
53 | :obuild_return |
---|
54 | |
---|
55 | SET obuild_bhep_path= |
---|
56 | |
---|
57 | REM # FIXME SET obuild_platform= |
---|
58 | REM # FIXME SET obuild_dir_bin= |
---|
59 | |
---|
60 | @ECHO ON |
---|
Note: See
TracBrowser
for help on using the repository browser.