Extensions > API reference > cpp

cpp

A configuration fragment for C++.

conlyopts

list cpp.conlyopts

Returns flags passed to Bazel by --conlyopt option.

copts

list cpp.copts

Returns flags passed to Bazel by --copt option.

cxxopts

list cpp.cxxopts

Returns flags passed to Bazel by --cxxopt option.

linkopts

list cpp.linkopts

Returns flags passed to Bazel by --linkopt option.