@ECHO OFF REM # REM # File produced by the obuild tool version 1.0 REM # for the package bhep with version v1r4p2. REM # REM #//////////////////////////////////////////////// REM # Usage : REM # DOS> setup REM # or : REM # DOS> setup.bat REM # or : REM # DOS> call setup.bat REM #//////////////////////////////////////////////// SET obuild_bhep_path=%~dp0 REM # Remove ending \obuild\ SET obuild_bhep_path=%obuild_bhep_path:~0,-8% IF "%OBUILD_PLATFORM%" == "" ( IF "%OS%" == "" ECHO Environment variable OS not found. & GOTO obuild_return SET obuild_platform=%OS% ) ELSE ( SET obuild_platform=%OBUILD_PLATFORM% ) IF "%obuild_platform%" == "" ( ECHO obuild_platform variable not defined. GOTO obuild_return ) IF "%OBUILD_DIR_BIN%" == "" ( SET obuild_dir_bin=bin_obuild ) ELSE ( SET obuild_dir_bin=%OBUILD_DIR_BIN% ) IF "%obuild_dir_bin%" == "" ( ECHO obuild_dir_bin variable not defined. GOTO obuild_return ) REM # Set environment variables of this package : IF DEFINED PATH GOTO else_if_path_bhep_0 SET PATH=%obuild_bhep_path%\%obuild_dir_bin% GOTO end_if_path_bhep_0 :else_if_path_bhep_0 SET PATH=%PATH%;%obuild_bhep_path%\%obuild_dir_bin% :end_if_path_bhep_0 :obuild_return SET obuild_bhep_path= REM # FIXME SET obuild_platform= REM # FIXME SET obuild_dir_bin= @ECHO ON