aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorajs <sam4lordjesus@outlook.com>2025-01-22 22:34:31 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2025-01-27 00:59:37 +0200
commit1882ae4fc628398e62f3a7d8e7d726aa5a5cde1a (patch)
treee34c2d3c3e435854860ada82679b051ce8e46e5d /docs
parentae9ae8adced6bf2e0f78c752c4d64e2fcfe0844f (diff)
downloadmeson-1882ae4fc628398e62f3a7d8e7d726aa5a5cde1a.zip
meson-1882ae4fc628398e62f3a7d8e7d726aa5a5cde1a.tar.gz
meson-1882ae4fc628398e62f3a7d8e7d726aa5a5cde1a.tar.bz2
adding c_std=c2y option for clang
Signed-off-by: ajs <sam4lordjesus@outlook.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Builtin-options.md2
-rw-r--r--docs/markdown/Configuring-a-build-directory.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md
index 3a91280..d64cd85 100644
--- a/docs/markdown/Builtin-options.md
+++ b/docs/markdown/Builtin-options.md
@@ -273,7 +273,7 @@ or compiler being used:
| ------ | ------------- | --------------- | ----------- |
| c_args | | free-form comma-separated list | C compile arguments to use |
| c_link_args | | free-form comma-separated list | C link arguments to use |
-| c_std | none | none, c89, c99, c11, c17, c18, c2x, c23, gnu89, gnu99, gnu11, gnu17, gnu18, gnu2x, gnu23 | C language standard to use |
+| c_std | none | none, c89, c99, c11, c17, c18, c2x, c23, c2y, gnu89, gnu99, gnu11, gnu17, gnu18, gnu2x, gnu23, gnu2y | C language standard to use |
| c_winlibs | see below | free-form comma-separated list | Standard Windows libs to link against |
| c_thread_count | 4 | integer value ≥ 0 | Number of threads to use with emcc when using threads |
| cpp_args | | free-form comma-separated list | C++ compile arguments to use |
diff --git a/docs/markdown/Configuring-a-build-directory.md b/docs/markdown/Configuring-a-build-directory.md
index db6fc03..746e4b1 100644
--- a/docs/markdown/Configuring-a-build-directory.md
+++ b/docs/markdown/Configuring-a-build-directory.md
@@ -61,7 +61,7 @@ a sample output for a simple project.
------ ------------- --------------- -----------
c_args [] Extra arguments passed to the C compiler
c_link_args [] Extra arguments passed to the C linker
- c_std c99 [none, c89, c99, c11, c17, c18, c2x, c23, gnu89, gnu99, gnu11, gnu17, gnu18, gnu2x, gnu23] C language standard to use
+ c_std c99 [none, c89, c99, c11, c17, c18, c2x, c23, c2y, gnu89, gnu99, gnu11, gnu17, gnu18, gnu2x, gnu23, gnu2y] C language standard to use
cpp_args [] Extra arguments passed to the C++ compiler
cpp_debugstl false [true, false] STL debug mode
cpp_link_args [] Extra arguments passed to the C++ linker