Ignore:
Timestamp:
Feb 9, 2007, 4:47:00 PM (16 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/setup.bat

    r101 r134  
    5151cd "%obuild_snovis_path%\%obuild_dir_bin%"
    5252IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    53 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
     53FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
    5454cd "%obuild_pwd_snovis_0%"
    5555SET obuild_pwd_snovis_0=
    5656IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1
    57 SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p2
     57SET snova_platform=Darwin
    5858:end_if_platform_1
    5959SET obuild_platform_result=
     
    6161cd "%obuild_snovis_path%\%obuild_dir_bin%"
    6262IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    63 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
     63FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    6464cd "%obuild_pwd_snovis_0%"
    6565SET obuild_pwd_snovis_0=
    6666IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3
    67 SET bhep_platform=Darwin
     67SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p2
    6868:end_if_platform_3
    6969SET obuild_platform_result=
     
    8181cd "%obuild_snovis_path%\%obuild_dir_bin%"
    8282IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    83 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
     83FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    8484cd "%obuild_pwd_snovis_0%"
    8585SET obuild_pwd_snovis_0=
    8686IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7
    87 SET snova_platform=Darwin
     87SET CLHEP_home=/usr/local/CLHEP/2.0.3.1
    8888:end_if_platform_7
    8989SET obuild_platform_result=
     
    9595SET obuild_pwd_snovis_0=
    9696IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9
    97 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1
     97SET Geant4_home=/usr/local/geant4/8.2
    9898:end_if_platform_9
    99 SET obuild_platform_result=
    100 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    101 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    102 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    103 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    104 cd "%obuild_pwd_snovis_0%"
    105 SET obuild_pwd_snovis_0=
    106 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11
    107 SET Geant4_home=/usr/local/geant4/8.2
    108 :end_if_platform_11
    10999SET obuild_platform_result=
    110100IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%" MKDIR "%obuild_snovis_path%\%obuild_dir_bin%"
     
    144134SET NeutronHPCrossSections=%Geant4_home%\data\G4NDL3.10
    145135
    146 IF DEFINED PATH GOTO else_if_path_snovis_17
     136IF DEFINED PATH GOTO else_if_path_snovis_15
    147137  SET PATH=%obuild_snovis_path%\%obuild_dir_bin%
    148   GOTO end_if_path_snovis_17
    149 :else_if_path_snovis_17
     138  GOTO end_if_path_snovis_15
     139:else_if_path_snovis_15
    150140  SET PATH=%PATH%;%obuild_snovis_path%\%obuild_dir_bin%
    151 :end_if_path_snovis_17
     141:end_if_path_snovis_15
    152142
    153143:obuild_return
Note: See TracChangeset for help on using the changeset viewer.