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

FindNanopb.cmake pb_common.c, pb_decode.c and pb_encode.c marked for cleanup during ninja clean #1104

@OrpyxGregLund

Description

@OrpyxGregLund

When using the "traditional variables" version of NANOPB_GENERATE_CPP, the non-generated source files in NanoPB get clobbered on a ninja clean. My workaround was to remove them from the NANOPB_SRCS list after find_package() statement and then add them back manually to our targets using target_sources() after our NANOPB_GENERATE_CPP statements.

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