X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2Fbuild.csh;h=4812462811f736557e4c32bb3aa2a491bff4a1cf;hb=b42a653614f830d8a28b8e2d8567d4c22af23f52;hp=fb2bf173be539ed1c17c9907d05e97d43743c77a;hpb=b2f455f9c32667f9adee3ae066a51d85fb94ea04;p=tools%2Finstall.git diff --git a/config_files/build.csh b/config_files/build.csh index fb2bf17..4812462 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -1,21 +1,32 @@ -#! /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-2007 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 med_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) +set modules=(KERNEL GUI GEOM MED SMESH VISU SUPERV NETGENPLUGIN GHS3DPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT RANDOMIZER SIERPINSKY) set optim="" set is_install=0 set is_help=0 +set is_tui=0 set prefix="" ######################################################### @@ -27,6 +38,8 @@ while ( ${%1} > 0 ) set is_configure=1 else if ( "$1" == "-c" ) then set is_configure=1 + else if ( "$1" == "-w" ) then + set med_with_gui=0 else if ( "$1" == "-d" ) then set is_delete=1 else if ( "$1" == "-o" ) then @@ -42,13 +55,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` 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. Skipping." endif endif shift @@ -61,13 +76,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 (optionally) make install commands" echo "" echo "Usage:" echo " build.csh [