mirror of
https://github.com/labwc/labwc.git
synced 2026-03-01 01:40:24 -05:00
main.c: add -v, -V, -d command line options
This commit is contained in:
parent
5a36fef547
commit
5101ee87eb
2 changed files with 15 additions and 20 deletions
|
|
@ -1,6 +1,7 @@
|
|||
project(
|
||||
'labwc',
|
||||
'c',
|
||||
version: '0.1.0',
|
||||
license: 'GPL-2',
|
||||
default_options: [
|
||||
'c_std=c11',
|
||||
|
|
@ -26,6 +27,9 @@ add_project_arguments(cc.get_supported_arguments(
|
|||
language: 'c',
|
||||
)
|
||||
|
||||
version='"@0@"'.format(meson.project_version())
|
||||
add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')
|
||||
|
||||
wlroots_proj = subproject(
|
||||
'wlroots',
|
||||
default_options: ['examples=false'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue