aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHenrik S. Gaßmann <[email protected]>2023-12-02 15:19:30 +0100
committerJack O'Connor <[email protected]>2023-12-02 11:11:10 -0800
commit7ce2aa41e9f01a91c3b309a7bf5e86b4136ed8a9 (patch)
treefe2f8d8a3dfebc8f0a357bf45a1711e8907fe064 /README.md
parent92e4cd71be48fdf9a79e88ef37b8f415ec5ac210 (diff)
build(CMake): Require C99 mode
Specify language requirement as a [compile-feature] and force compiler extensions off ensuring portability problems are detected early on. Note that we do not use the `C_STANDARD` property, because it doesn't propagate to dependent targets and would prohibit users from compiling their code base with consistent flags / language configuations if they were to target a newer C standard. Similarly we do not configure `C_STANDARD_REQUIRED` as [compile-features] do not interact with it--they are enforced regardless. [compile-feature]: https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#compile-feature-requirements
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions