X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2Fbuild.csh;h=10437d3456c96f49c76cd9ee03f1adc430dbee4e;hb=260bf6b42efe9e30501c4e6e99b013da3fe34f77;hp=6ffee6a6b835139d36a8b1ff32ee7915992c6634;hpb=4d43c373816b9f5bc87eacf6aca8f68f772250ef;p=tools%2Finstall.git diff --git a/config_files/build.csh b/config_files/build.csh index 6ffee6a..10437d3 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -21,13 +21,14 @@ set inst_with_gui=1 set is_delete=0 set verbose_level=2 set params="" -set b_params="" -set modules=(KERNEL GUI GEOM MED SMESH VISU NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER YACS) +set modules=(KERNEL GUI GEOM MED SMESH VISU PARAVIS YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER HEXABLOCK HEXABLOCKPLUGIN ATOMIC ATOMGEN ATOMSOLV HOMARD JOBMANAGER) set optim="" -set is_install=0 +set is_install=1 set is_help=0 set is_tui=0 set prefix="" +set def_install_dir="/INSTALL" +set b_params="" ######################################################### # parse parameters @@ -44,8 +45,6 @@ while ( ${%1} > 0 ) set is_delete=1 else if ( "$1" == "-o" ) then set optim="--enable-production=yes --disable-debug" - else if ( "$1" == "-i" ) then - set is_install=1 else if ( "$1" == "-v" ) then shift set verbose_level=$1 @@ -58,12 +57,12 @@ while ( ${%1} > 0 ) else if ( "$1" == "-t" ) then set is_tui=1 else - set ckt=`echo ${modules} | grep $1` + set ckt=`echo ${modules} | grep -E "\<$1\>"` if ( "$ckt" != "" ) then set params="$params $1" else set b_params="$b_params $1" - echo "\!\!\! Warning \!\!\! Unknown module: $1. Skipping." + echo "\!\!\! Warning \!\!\! Unknown module: $1." endif endif shift @@ -76,7 +75,7 @@ if ( $is_help == 1 ) then echo "" echo "" echo "Description:" -echo " Builds given SALOME modules by performing make and (optionally) make install commands" +echo " Builds given SALOME modules by performing make and make install commands" echo "" echo "Usage:" echo " build.csh [