]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #638: correct modules order: "HYDRO,GEOM,SMESH"
authorasl <asl@opencascade.com>
Tue, 29 Sep 2015 13:13:06 +0000 (16:13 +0300)
committerasl <asl@opencascade.com>
Tue, 29 Sep 2015 13:13:06 +0000 (16:13 +0300)
CMakeLists.txt
bin/hydro_setenv.py [new file with mode: 0644]

index 6d87ed595efb3993561526451b699b7136fdeb01..601d0ab649a798621ca8709af69a4da9f8cd2b3b 100644 (file)
@@ -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 (file)
index 0000000..866a0f2
--- /dev/null
@@ -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