diff options
Diffstat (limited to 'plugin/CMakeLists.txt')
| -rw-r--r-- | plugin/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt index 2c34228..68cbe30 100644 --- a/plugin/CMakeLists.txt +++ b/plugin/CMakeLists.txt | |||
| @@ -19,14 +19,14 @@ target_link_libraries(plugin PRIVATE | |||
| 19 | list | 19 | list |
| 20 | log) | 20 | log) |
| 21 | 21 | ||
| 22 | target_compile_options(plugin PRIVATE -Wall -Wextra) | 22 | target_compile_options(plugin PRIVATE -Wall -Wextra -Wpedantic) |
| 23 | 23 | ||
| 24 | # Test | 24 | # Test |
| 25 | 25 | ||
| 26 | add_library(hello_plugin SHARED | 26 | add_library(hello_plugin SHARED |
| 27 | test/hello_plugin.c) | 27 | test/hello_plugin.c) |
| 28 | 28 | ||
| 29 | target_compile_options(hello_plugin PRIVATE -Wall -Wextra) | 29 | target_compile_options(hello_plugin PRIVATE -Wall -Wextra -Wpedantic) |
| 30 | 30 | ||
| 31 | add_executable(plugin_test | 31 | add_executable(plugin_test |
| 32 | test/plugin_test.c) | 32 | test/plugin_test.c) |
| @@ -35,4 +35,4 @@ target_link_libraries(plugin_test | |||
| 35 | plugin | 35 | plugin |
| 36 | test) | 36 | test) |
| 37 | 37 | ||
| 38 | target_compile_options(plugin_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra) | 38 | target_compile_options(plugin_test PRIVATE -DUNIT_TEST -DNDEBUG -Wall -Wextra -Wpedantic) |
