这是indexloc提供的服务,不要输入任何密码
Skip to content

Using single and global option files. #1075

@metainf

Description

@metainf

I have a setup where there per .proto option files, and a single option file that I want to apply to everything using nanopb_generator.exe

- A.proto
- A.options
- B.options
- global.options

If I don't use --options-file=nanopb.options, then the generator picks up the A/B.options files, but not global.options. If I use --options-file=nanopb.options, then global.options is used ,but not the A/B.options files.

Is there any way to be able to use both? My current workaround is to use the global options as arguments to the generator, but it seems messy.

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