dvcfg-b project generate

Generate C-Code based configuration.

If no --module or --ext-steps option is specified, all available modules and external steps are generated.

Command

dvcfg-b project generate -p=<file> -b=<folder> [-m=<module>[,<module>...]]... [-x=<module>[,
                                <module>...]]... [-o=<outputFolder>] [--ext-steps=<step>[,<step>...]]... [-t=<type>]
                                [-a=<module>:<arg>[,<module>:<arg>...]]... [-r=<folder>] [--keep-temp-files]
                                [--clean-generate] [--no-save]

Usage

Generate C-Code based configuration.

Usage: dvcfg-b project generate [-h] -p=<file> -b=<folder> [-m=<module>[,<module>...]]... [-x=<module>[,
                                <module>...]]... [-o=<outputFolder>] [--ext-steps=<step>[,<step>...]]... [-t=<type>]
                                [-a=<module>:<arg>[,<module>:<arg>...]]... [-r=<folder>] [--keep-temp-files]
                                [--clean-generate] [--no-save]

Description:
Generate C-Code based configuration.

NOTE: If no --module or --ext-steps option is specified, all available modules and external steps are generated.

Options:
* -p, --project=<file>                           The .dvjson file of the project.
* -b, --bsw-package=<folder>                     Directory of the BSW package.
  -m, --module=<module>[,<module>...]            Specify the modules to generate.
                                                  <module> must be either an AUTOSAR Definition (e.g. /MICROSAR/Rte)
                                                   or a shortname (e.g. Rte).
                                                  If 'from-project' is specified, all modules defined in the project
                                                   settings will be generated.
                                                  'from-project' can be combined with other entries (e.g. from-project,
                                                   Rte).
                                                  If an empty string ('') is provided, no modules will be generated.
                                                  If not specified, all available modules are generated.
  -x, --exclude=<module>[,<module>...]           Specify the modules to exclude from generation.
                                                  <module> must be either an AUTOSAR Definition (e.g. /MICROSAR/Rte)
                                                   or a shortname (e.g. Rte).
  -o, --output=<outputFolder>                    Specify the root output folder for the generated files (GenData,
                                                   GenDataVtt, McData, Templates).
                                                  This overrides the corresponding folder paths configured in the
                                                   project settings for this generation only.
                                                  The project settings themselves are not modified.
                                                  If not specified, the folder paths configured in the project settings
                                                   are used.
      --ext-steps=<step>[,<step>...]             Specify the external generation steps to execute.
                                                  <step> must be the name of the external generation step specified in
                                                   the project settings.
                                                  If 'from-project' is specified, all steps defined in the project
                                                   settings will be executed.
                                                  'from-project' can be combined with other entries (e.g. from-project,
                                                   Step1).
                                                  If an empty string ('') is provided, no steps will be executed.
                                                  If not specified, all available steps will be executed.
  -t, --type=<type>                              Set the type of the generation target (REAL, VTT).
  -a, --arg=<module>:<arg>[,<module>:<arg>...]   Specify argument(s) for certain generators.
                                                  <module> is either the AUTOSAR definition path (e.g. /MICROSAR/Nm)
                                                   or the shortname (e.g. Rte).
                                                  <arg> could be any custom argument which is defined in the generator.
                                                  Multiple arguments must be quoted to be parsed correctly.
                                                  E.g.: --arg=Rte:DoSomethingSpecial=true
                                                        --arg='/MICROSAR/Nm:Arg1=true Arg2=false'
  -r, --report=<folder>                          Directory to put the reports into.
      --keep-temp-files                          Keep temporary files created during generation.
      --clean-generate                           Run validation and generation without performing up-to-date checks.
      --no-save                                  Prevent saving the project to disk.
  -h, --help                                     Display the help.

For the meaning of the returned exit codes, see Exit Codes.