X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2Fbuild.csh;h=10437d3456c96f49c76cd9ee03f1adc430dbee4e;hb=260bf6b42efe9e30501c4e6e99b013da3fe34f77;hp=50529458e51714832763918b2a49bb2e0189df7b;hpb=be4bba1fe33032ad6dd8a3c727cc2d0015519060;p=tools%2Finstall.git diff --git a/config_files/build.csh b/config_files/build.csh index 5052945..10437d3 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -1,22 +1,34 @@ -#! /bin/csh -f -################################################################################################## -# Name : build.csh -# Description: Build and install SALOME2 modules from sources -# Author : Vadim SANDLER (VSR), Open CASCADE S.A. -# Created : 27.01.2005 -################################################################################################## +#!/bin/csh -f + +#################################################################################### +# File : build.csh +# Created : Thu Jan 27 09:50:55 2005 +# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) +# Project : SALOME +# Module : Installation Wizard +# Copyright : 2002-2008 CEA +# +# This script is the part of the SALOME installation procedure. +# +# This script can be used to build and install SALOME modules from sources. +# Try build.csh -h for more details about usage. +# +#################################################################################### set is_build_configure=0 set is_configure=0 +set inst_with_gui=1 set is_delete=0 set verbose_level=2 set params="" -set b_params="" -set modules=(KERNEL GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN COMPONENT PYCALCULATOR HELLO PYHELLO) +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 @@ -27,12 +39,12 @@ while ( ${%1} > 0 ) set is_configure=1 else if ( "$1" == "-c" ) then set is_configure=1 + else if ( "$1" == "-w" ) then + set inst_with_gui=0 else if ( "$1" == "-d" ) then 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 @@ -42,13 +54,15 @@ while ( ${%1} > 0 ) set prefix=$1 else if ( "$1" == "-h" ) then set is_help=1 + 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 @@ -61,13 +75,13 @@ if ( $is_help == 1 ) then echo "" echo "" echo "Description:" -echo " Builds given SALOME2 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 [