Changeset 153


Ignore:
Timestamp:
Feb 10, 2007, 11:18:37 AM (15 years ago)
Author:
barrand
Message:
 
Location:
snovis/trunk/obuild
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • snovis/trunk/obuild/DOS/build_app_prog_snova.bat

    r137 r153  
    521521SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\geomutils.lib"
    522522SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_bhep_path%\%obuild_dir_bin%\bhep.lib"
    523 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4interfaces
    524523FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    525524cd "%obuild_snovis_path%\%obuild_dir_bin%"
     
    528527cd "%obuild_pwd_snovis_0%"
    529528SET obuild_pwd_snovis_0=
     529IF NOT %obuild_platform_result% == yes GOTO end_if_platform_45
     530SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global
     531:end_if_platform_45
     532SET obuild_platform_result=
     533FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     534cd "%obuild_snovis_path%\%obuild_dir_bin%"
     535IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     536FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
     537cd "%obuild_pwd_snovis_0%"
     538SET obuild_pwd_snovis_0=
    530539IF NOT %obuild_platform_result% == yes GOTO end_if_platform_46
    531 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global
     540SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP
    532541:end_if_platform_46
    533 SET obuild_platform_result=
    534 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    535 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    536 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    537 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    538 cd "%obuild_pwd_snovis_0%"
    539 SET obuild_pwd_snovis_0=
    540 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_47
    541 SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP
    542 :end_if_platform_47
    543542SET obuild_platform_result=
    544543SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_HDF5_path%\%obuild_dir_bin%\osc_HDF5.lib"
  • snovis/trunk/obuild/DOS/build_app_snovis_session.bat

    r137 r153  
    648648SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_G4Lab_path%\%obuild_dir_bin%\G4LabUIOnX.lib"
    649649SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_G4Lab_path%\%obuild_dir_bin%\G4LabCore.lib"
    650 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4interfaces
    651650FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    652651cd "%obuild_snovis_path%\%obuild_dir_bin%"
     
    655654cd "%obuild_pwd_snovis_0%"
    656655SET obuild_pwd_snovis_0=
     656IF NOT %obuild_platform_result% == yes GOTO end_if_platform_53
     657SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global
     658:end_if_platform_53
     659SET obuild_platform_result=
     660FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     661cd "%obuild_snovis_path%\%obuild_dir_bin%"
     662IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     663FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
     664cd "%obuild_pwd_snovis_0%"
     665SET obuild_pwd_snovis_0=
    657666IF NOT %obuild_platform_result% == yes GOTO end_if_platform_54
    658 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global
     667SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP
    659668:end_if_platform_54
    660 SET obuild_platform_result=
    661 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    662 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    663 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    664 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    665 cd "%obuild_pwd_snovis_0%"
    666 SET obuild_pwd_snovis_0=
    667 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_55
    668 SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP
    669 :end_if_platform_55
    670669SET obuild_platform_result=
    671670SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_Lib_path%\%obuild_dir_bin%\LibXML.lib"
     
    686685cd "%obuild_pwd_snovis_0%"
    687686SET obuild_pwd_snovis_0=
     687IF NOT %obuild_platform_result% == yes GOTO end_if_platform_66
     688SET obuild_linked_libraries=%obuild_linked_libraries% -framework OpenGL -framework AGL
     689:end_if_platform_66
     690SET obuild_platform_result=
     691FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
     692cd "%obuild_snovis_path%\%obuild_dir_bin%"
     693IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
     694FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
     695cd "%obuild_pwd_snovis_0%"
     696SET obuild_pwd_snovis_0=
    688697IF NOT %obuild_platform_result% == yes GOTO end_if_platform_67
    689 SET obuild_linked_libraries=%obuild_linked_libraries% -framework OpenGL -framework AGL
     698SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices
    690699:end_if_platform_67
    691700SET obuild_platform_result=
     
    693702cd "%obuild_snovis_path%\%obuild_dir_bin%"
    694703IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    695 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j
     704FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
    696705cd "%obuild_pwd_snovis_0%"
    697706SET obuild_pwd_snovis_0=
    698707IF NOT %obuild_platform_result% == yes GOTO end_if_platform_68
    699 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices
     708SET obuild_linked_libraries=%obuild_linked_libraries% -L/usr/lib -lGLU -lGL -lm
    700709:end_if_platform_68
    701710SET obuild_platform_result=
     
    703712cd "%obuild_snovis_path%\%obuild_dir_bin%"
    704713IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    705 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Linux`) DO SET obuild_platform_result=%%j
     714FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
    706715cd "%obuild_pwd_snovis_0%"
    707716SET obuild_pwd_snovis_0=
    708717IF NOT %obuild_platform_result% == yes GOTO end_if_platform_69
    709 SET obuild_linked_libraries=%obuild_linked_libraries% -L/usr/lib -lGLU -lGL -lm
     718SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib
    710719:end_if_platform_69
    711720SET obuild_platform_result=
     
    713722cd "%obuild_snovis_path%\%obuild_dir_bin%"
    714723IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    715 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j
     724FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
    716725cd "%obuild_pwd_snovis_0%"
    717726SET obuild_pwd_snovis_0=
    718727IF NOT %obuild_platform_result% == yes GOTO end_if_platform_70
    719 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib
     728SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm
    720729:end_if_platform_70
    721730SET obuild_platform_result=
     
    723732cd "%obuild_snovis_path%\%obuild_dir_bin%"
    724733IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    725 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j
     734FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    726735cd "%obuild_pwd_snovis_0%"
    727736SET obuild_pwd_snovis_0=
    728737IF NOT %obuild_platform_result% == yes GOTO end_if_platform_71
    729 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm
     738SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread
    730739:end_if_platform_71
    731 SET obuild_platform_result=
    732 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d
    733 cd "%obuild_snovis_path%\%obuild_dir_bin%"
    734 IF NOT EXIST .\obuild_platform.exe  ECHO Program obuild_platform.exe not found.  && GOTO obuild_return
    735 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe  %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j
    736 cd "%obuild_pwd_snovis_0%"
    737 SET obuild_pwd_snovis_0=
    738 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_72
    739 SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread
    740 :end_if_platform_72
    741740SET obuild_platform_result=
    742741
  • snovis/trunk/obuild/sh/build_app_prog_snova

    r137 r153  
    560560obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_bhep_path}/${obuild_dir_bin}\""
    561561obuild_linked_libraries="${obuild_linked_libraries}  -lbhep"
    562 obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4interfaces"
    563562if [ "${obuild_platform_exe}" = "" ] ; then
    564563  echo "Variable obuild_platform_exe not defined."
  • snovis/trunk/obuild/sh/build_app_snovis_session

    r137 r153  
    725725obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_G4Lab_path}/${obuild_dir_bin}\""
    726726obuild_linked_libraries="${obuild_linked_libraries}  -lG4LabCore"
    727 obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4interfaces"
    728727if [ "${obuild_platform_exe}" = "" ] ; then
    729728  echo "Variable obuild_platform_exe not defined."
Note: See TracChangeset for help on using the changeset viewer.