From: asl Date: Tue, 29 Sep 2015 13:13:06 +0000 (+0300) Subject: refs #638: correct modules order: "HYDRO,GEOM,SMESH" X-Git-Tag: v1.5~145 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7251e752382137d38d10d32ad7b5ee2d39f1eefe;p=modules%2Fhydro.git refs #638: correct modules order: "HYDRO,GEOM,SMESH" --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d87ed59..601d0ab6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,3 +251,9 @@ INSTALL(FILES # Install the export set for use with the install-tree INSTALL(EXPORT ${PROJECT_NAME}TargetGroup DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}" FILE ${PROJECT_NAME}Targets.cmake) + + + +SET(_bin_scripts bin/hydro_setenv.py) +SALOME_INSTALL_SCRIPTS("${_bin_scripts}" ${SALOME_INSTALL_SCRIPT_SCRIPTS}) + diff --git a/bin/hydro_setenv.py b/bin/hydro_setenv.py new file mode 100644 index 00000000..866a0f2d --- /dev/null +++ b/bin/hydro_setenv.py @@ -0,0 +1,8 @@ +#! /usr/bin/env python +# -*- coding: iso-8859-1 -*- + +import os + +def set_env( args ): + os.environ["SALOME_MODULES_ORDER"] = "HYDRO,GEOM,SMESH" + pass