7 The **generate** command generates and compile SALOME modules from cpp modules using YACSGEN.
9 .. note:: This command uses YACSGEN to generate the module. It needs to be specified with *--yacsgen* option, or defined in the product or by the environment variable ``$YACSGEN_ROOT_DIR``.
14 * This command will only apply on the CPP modules of the application, those who have both properties: ::
19 * The cpp module are usually computational components, and the generated module brings the CORBA layer which allows distributing the compononent on remore machines. cpp modules should conform to YACSGEN/hxx2salome requirements (please refer to YACSGEN documentation)
24 * Generate all the modules of a product: ::
26 sat generate <application>
28 * Generate only specific modules: ::
30 sat generate <application> --products <list of products>
32 Remark: modules which don't have the *generate* property are ignored.
34 * Use a specific version of YACSGEN: ::
36 sat generate <application> --yacsgen <path to yacsgen>