Skip to content

Commit

Permalink
Add meson options for hiding warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Opaatia authored Dec 30, 2023
1 parent 525227f commit e7f8248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meson.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
option('hide_unused_function_warning', type : 'boolean', value : true, description: 'Add compile time option of -Wno-unused-function to hide unused function warning.')
option('hide_unused_variable_warning', type : 'boolean', value : true, description: 'Add compile time option of -Wno-unused-variable to hide unused variable warning.')
option('hide_unknown_pragmas', type : 'boolean', value : true, description: 'Add compile time option of -Wno-unknown-pragmas to hide unknown pragmas warning.')

0 comments on commit e7f8248

Please sign in to comment.