X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2Fbuild.csh;h=1e2b08c8bfd02663aa23bdfc06692a3ccf4935fd;hb=87764e2c31529d2b59095d6cf02f5a09262b48a2;hp=7b8ea28e53bebd658429a34911aa042f2d829aa4;hpb=187caf714c647f7fea137b30851bcc4ef8c81f5c;p=tools%2Finstall.git diff --git a/config_files/build.csh b/config_files/build.csh index 7b8ea28..1e2b08c 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 SALOME 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 GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT) +set modules=(KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR) 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 [