Extensions >
API reference >
cpp
cpp
A configuration fragment for C++.
      conlyopts
        list cpp.conlyopts
    The flags passed to Bazel by 
--conlyopt option.
        
copts
        list cpp.copts
    The flags passed to Bazel by 
--copt option.
        
custom_malloc
        Label cpp.custom_malloc
    Returns label pointed to by 
--custom_malloc option. Can be accessed with 
configuration_field:
attr.label(
    default = configuration_field(
        fragment = "cpp",
        name = "custom_malloc"
    )
)
        cxxopts
        list cpp.cxxopts
    The flags passed to Bazel by 
--cxxopt option.
        
linkopts
        list cpp.linkopts
    The flags passed to Bazel by 
--linkopt option.