Skip to content

Option for switching off code generation for #included files #422

@okellogg

Description

@okellogg

On projects with many fine-grained IDL files (e.g. one type per file) and many #include interdependencies, I notice that fastddsgen generates the code for the included files each time it runs.
Imagine 50 IDL files that all #include a "common.idl", then the C++ files for common.idl will be generated 50 times.
Also, users might have their own IDL dependency management where determining the need for regenerating is done outside fastddsgen.

To save superfluous regenerations, it would be useful to have a command line option to switch off code generation for included files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions