From 0f9517c887f5232305b185ae8b791bd719eed4ed Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 13 Dec 2013 12:21:30 +0000 Subject: [PATCH] SALOME 7.3.0 preparation --- config_files/build.sh | 850 +++++++++++++++++++++++------------------- 1 file changed, 465 insertions(+), 385 deletions(-) diff --git a/config_files/build.sh b/config_files/build.sh index 547d5b4..97af0a0 100755 --- a/config_files/build.sh +++ b/config_files/build.sh @@ -13,462 +13,542 @@ # This script can be used to build and install SALOME modules from sources. # Try build.sh -h for more details about usage. # +# Last update: 13/12/2013: porting SALOME build procedure to CMake +# TODO: +# - get back verbosity option which is currently switched off +# #################################################################################### +# set to 1 to print debug information for script +if [ "${DEBUG_SCRIPT}" = "" ] ; then + DEBUG_SCRIPT=0 +fi + +# default installation directory +def_install_dir="$(pwd)/INSTALL" +# default verbosity level +def_verbosity_level=0 +# default modules list +def_modules="" +def_modules="${def_modules} KERNEL GUI GEOM MED SMESH PARAVIS YACS HOMARD HEXABLOCK JOBMANAGER" +def_modules="${def_modules} NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN HEXABLOCKPLUGIN" +def_modules="${def_modules} COMPONENT CALCULATOR PYCALCULATOR HELLO PYHELLO LIGHT PYLIGHT" +def_modules="${def_modules} RANDOMIZER SIERPINSKY ATOMIC ATOMGEN ATOMSOLV DOCUMENTATION" + ############################################################### -# Prints usage information and exits +# Function: Print usage information and exit ############################################################### usage(){ echo "" - echo "Description:" - echo " Builds given SALOME modules by performing make and " - echo " make install commands" + echo "Build specified SALOME module(s)" echo "" echo "Usage:" - echo " build.sh [