Skip to content

Print copts and linkopts used in a header or text file #992

@mhashim11

Description

@mhashim11

Before building a specific cpp file, I need to print the used copts and linkopts in a file(header or text file).
what is the easiest way to achieve this goal?

I tried creating a cc_toolchain_suite but I was not able to get them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions