Salome HOME
add generated modules to the EDF appli
authorS. Pomarede <support-salome@cea.fr>
Thu, 13 Oct 2016 10:11:21 +0000 (12:11 +0200)
committerS. Pomarede <support-salome@cea.fr>
Thu, 13 Oct 2016 10:11:21 +0000 (12:11 +0200)
commands/application.py

index 78c8e39516d129014b1b78d2a5b91027debef407..971278db33790ee22d5544d0c4d6147f5ddd6290 100644 (file)
@@ -89,7 +89,7 @@ def create_config_file(config, modules, env_file, logger):
         if src.product.product_is_smesh_plugin(mm):
             continue
 
-        if 'install_dir' in mm and bool(mm.install_dir) :
+        if 'install_dir' in mm and bool(mm.install_dir):
             if src.product.product_is_cpp(mm):
                 # cpp module
                 for aa in src.product.get_product_components(mm):
@@ -244,7 +244,8 @@ def get_SALOME_modules(config):
     l_modules = []
     for product in config.APPLICATION.products:
         product_info = src.product.get_product_config(config, product)
-        if src.product.product_is_SALOME(product_info):
+        if (src.product.product_is_SALOME(product_info) or 
+               src.product.product_is_generated(product_info)):
             l_modules.append(product)
     return l_modules