From: Nabil Ghodbane Date: Wed, 13 Sep 2023 14:07:45 +0000 (+0200) Subject: bos #37534: add salome_bootstrap module to list of modules (II) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b33f8aec56dbb6af9291304f31baebd663006e96;p=tools%2Fsat_salome.git bos #37534: add salome_bootstrap module to list of modules (II) --- diff --git a/products/SALOMEBOOTSTRAP.pyconf b/products/SALOMEBOOTSTRAP.pyconf new file mode 100644 index 0000000..1e6ca4e --- /dev/null +++ b/products/SALOMEBOOTSTRAP.pyconf @@ -0,0 +1,26 @@ +default : +{ + name : "SALOMEBOOTSTRAP" + build_source : "cmake" + cmake_options : "" + get_source : "git" + git_info: + { + repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + "salome_bootstrap.git" + repo : $repo_dev + } + environ : + { + env_script : $name + ".py" + } + depend : ["Python"] + build_depend : ["cmake", "swig", "doxygen", "cppunit"] + source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name + build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name + properties: + { + incremental : "yes" + } + patches: [] +} + diff --git a/products/env_scripts/SALOMEBOOTSTRAP.py b/products/env_scripts/SALOMEBOOTSTRAP.py new file mode 100644 index 0000000..3c042a0 --- /dev/null +++ b/products/env_scripts/SALOMEBOOTSTRAP.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +#-*- coding:utf-8 -*- + +import os.path +import platform + +def set_env(env, prereq_dir, version): + env.set('SALOMEBOOTSTRAP_ROOT_DIR', prereq_dir) + if platform.system() == "Windows" : + pass + else: + env.prepend('PYTHONPATH', os.path.join(prereq_dir, '__SALOME_BOOTSTRAP')) + +def set_nativ_env(env): + pass