From 7251e752382137d38d10d32ad7b5ee2d39f1eefe Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 29 Sep 2015 16:13:06 +0300 Subject: [PATCH] refs #638: correct modules order: "HYDRO,GEOM,SMESH" --- CMakeLists.txt | 6 ++++++ bin/hydro_setenv.py | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 bin/hydro_setenv.py 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 -- 2.39.2