Send feedback
cpp
Stay organized with collections
Save and categorize content based on your preferences.
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.0
·
7.5
·
7.4
·
7.3
·
7.2
A configuration fragment for C++.
Members
apple_generate_dsym
bool cpp.apple_generate_dsym
Whether to generate Apple debug symbol(.dSYM) artifacts.
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" ) )
May return
None
.
cxxopts
list cpp.cxxopts
The flags passed to Bazel by
--cxxopt
option.
linkopts
list cpp.linkopts
The flags passed to Bazel by
--linkopt
option.
objc_generate_linkmap
bool cpp.objc_generate_linkmap
(Apple-only) Whether to generate linkmap artifacts.
objc_should_strip_binary
bool cpp.objc_should_strip_binary
(Apple-only) whether to perform symbol and dead-code strippings on linked binaries.
objccopts
list cpp.objccopts
The flags passed to Bazel by
--objccopt
option.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]