From: Serge Rehbinder Date: Tue, 14 Feb 2017 13:11:17 +0000 (+0100) Subject: sat package --binaries : add the generated modules X-Git-Tag: 5.0.0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=016032fed63f5251edcf666eddf915b9a71286d5;p=tools%2Fsat.git sat package --binaries : add the generated modules --- diff --git a/commands/package.py b/commands/package.py index a506fed..4472fd4 100644 --- a/commands/package.py +++ b/commands/package.py @@ -344,6 +344,17 @@ def binary_package(config, logger, options, tmp_working_dir): l_install_dir.append((prod_name, prod_info.install_dir)) else: l_not_installed.append(prod_name) + + # Add also the cpp generated modules (if any) + if src.product.product_is_cpp(prod_info): + # cpp module + for name_cpp in src.product.get_product_components(prod_info): + install_dir = os.path.join(config.APPLICATION.workdir, + "INSTALL", name_cpp) + if os.path.exists(install_dir): + l_install_dir.append((name_cpp, install_dir)) + else: + l_not_installed.append(name_cpp) # Print warning or error if there are some missing products if len(l_not_installed) > 0: