From 49453c563f9b922003a26360725d85847072f2c2 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 14 Feb 2017 11:52:19 +0100 Subject: [PATCH] sat package : Make a list with generated products to for the create_appli.py script --- commands/package.py | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/commands/package.py b/commands/package.py index 361f826..a506fed 100644 --- a/commands/package.py +++ b/commands/package.py @@ -271,12 +271,26 @@ def product_appli_creation_script(config, text_to_add = "" for product_name in get_SALOME_modules(config): product_info = src.product.get_product_config(config, product_name) - if src.product.product_is_SALOME(product_info): - line_to_add = ("") + + if src.product.product_is_smesh_plugin(product_info): + continue + + if 'install_dir' in product_info and bool(product_info.install_dir): + if src.product.product_is_cpp(product_info): + # cpp module + for cpp_name in src.product.get_product_components(product_info): + line_to_add = ("") + else: + # regular module + line_to_add = ("") text_to_add += line_to_add + "\n" filled_text = text_to_fill.replace("TO BE FILLED 2", text_to_add) -- 2.39.2