diff options
| author | hathach <[email protected]> | 2022-06-28 13:34:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-06-28 13:34:47 +0700 |
| commit | 83602ea1234e992dd90d6b3c9b1f0fd8b2bf5a78 (patch) | |
| tree | e45dfa4187b262508636c64f882e23987b1c3c48 /examples/example.cmake | |
| parent | 4057c2d8d96a364329d14d3a4b2c237f388cfdc2 (diff) | |
| parent | 3ead682af05bee3a275125f3e0384dd9b2882546 (diff) | |
Merge branch 'master' into rp2040_warning
Diffstat (limited to 'examples/example.cmake')
| -rw-r--r-- | examples/example.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/example.cmake b/examples/example.cmake new file mode 100644 index 000000000..6bb82a56d --- /dev/null +++ b/examples/example.cmake @@ -0,0 +1,25 @@ +target_compile_options(${PROJECT} PUBLIC + -Wall + -Wextra + -Werror + -Wfatal-errors + -Wdouble-promotion + #-Wstrict-prototypes + -Wstrict-overflow + #-Werror-implicit-function-declaration + -Wfloat-equal + #-Wundef + -Wshadow + -Wwrite-strings + -Wsign-compare + -Wmissing-format-attribute + -Wunreachable-code + -Wcast-align + -Wcast-function-type + -Wcast-qual + -Wnull-dereference + -Wuninitialized + -Wunused + -Wredundant-decls + -Wconversion + ) |
