Ignore:
Timestamp:
Feb 13, 2007, 5:46:35 AM (17 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build/snova/trunk/obuild/setup.csh

    r144 r184  
    141141endif
    142142unset obuild_platform_result
     143if ( ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ) then
     144  if ( ! -e "${obuild_snova_path}/obuild/cpp/obuild_find.cpp" ) then
     145    echo "Program source obuild_find.cpp not found."
     146    exit
     147  endif
     148  if ( $?obuild_cxx_command ) then
     149    if ( "${obuild_cxx_command}" == "" ) then
     150      if (  $?OBUILD_CXX ) then
     151        set obuild_find_compiler=${OBUILD_CXX}
     152      else
     153        set obuild_find_compiler=c++
     154      endif
     155    else
     156      set obuild_find_compiler=${obuild_cxx_command}
     157    endif
     158  else
     159    set obuild_find_compiler=c++
     160  endif
     161  ${obuild_find_compiler} -o "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" "${obuild_snova_path}/obuild/cpp/obuild_find.cpp"
     162  unset obuild_find_compiler
     163  if ( ! -e "${obuild_snova_path}/${obuild_dir_bin}/obuild_find" ) then
     164    echo "Program obuild_find not found."
     165    exit
     166  endif
     167endif
     168set obuild_find_exe="${obuild_snova_path}/${obuild_dir_bin}/obuild_find"
     169if ( "${obuild_find_exe}" == "" ) then
     170  echo "Variable obuild_find_exe not defined."
     171  exit
     172endif
     173set obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'`
     174
     175# Execute setup of used packages :
     176source "${obuild_bhep_path}/obuild/setup.csh"
     177
    143178# Set environment variables of this package :
    144179
Note: See TracChangeset for help on using the changeset viewer.