You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmkr/docs/examples/cpp-version-change.markdown

18 lines
324 B

---
layout: default
title: Changing C/C++ version
permalink: /examples/cpp-version-change
parent: Examples
nav_order: 3
---
# Changing C/C++ version
Simple example changing C++ to version 20 and C standard to the version 11
```toml
[target.example]
type = "executable"
compile-features = [ "cxx_std_20", "c_std_11" ]
```