---
title: otherCxxFlags
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/othercxxflags
---

# otherCxxFlags

Additional flags to pass to all C++ compiler invocations for the destination platform.

## Declaration

```swift
var otherCxxFlags: [String]
```

## See Also

### Inspecting Build Parameters

- [configuration](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/configuration.md)
- [logging](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/logging.md)
- [echoLogs](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/echologs.md)
- [otherCFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/othercflags.md)
- [otherLinkerFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/otherlinkerflags.md)
- [otherSwiftcFlags](swift-package-manager/documentation/packageplugin/packagemanager/buildparameters/otherswiftcflags.md)
