mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
18 lines
313 B
Markdown
18 lines
313 B
Markdown
---
|
|
layout: page
|
|
title: Changing C/C++ version
|
|
permalink: /examples/quickstart
|
|
parent: Examples
|
|
nav_order: 1
|
|
---
|
|
|
|
# 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" ]
|
|
```
|