examples: Add common_cflags to executables
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
executable('exampleapp',
|
||||
'exampleapp.c', 'exampleappwin.c', 'main.c',
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -4,4 +4,5 @@ app2_resources = gnome.compile_resources('exampleapp2_resources',
|
||||
|
||||
executable('exampleapp2',
|
||||
'exampleapp.c', 'exampleappwin.c', 'main.c', app2_resources,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -4,4 +4,5 @@ app3_resources = gnome.compile_resources('exampleapp3_resources',
|
||||
|
||||
executable('exampleapp3',
|
||||
'exampleapp.c', 'exampleappwin.c', 'main.c', app3_resources,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -4,4 +4,5 @@ app4_resources = gnome.compile_resources('exampleapp4_resources',
|
||||
|
||||
executable('exampleapp4',
|
||||
'exampleapp.c', 'exampleappwin.c', 'main.c', app4_resources,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -6,4 +6,5 @@ app5_schemas = gnome.compile_schemas()
|
||||
|
||||
executable('exampleapp5',
|
||||
'exampleapp.c', 'exampleappwin.c', 'main.c', app5_resources, app5_schemas,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -11,4 +11,5 @@ executable('exampleapp6',
|
||||
'exampleappprefs.c',
|
||||
app6_resources,
|
||||
app6_schemas,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -11,4 +11,5 @@ executable('exampleapp7',
|
||||
'exampleappprefs.c',
|
||||
app7_resources,
|
||||
app7_schemas,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -11,4 +11,5 @@ executable('exampleapp8',
|
||||
'exampleappprefs.c',
|
||||
app8_resources,
|
||||
app8_schemas,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
@@ -11,4 +11,5 @@ executable('exampleapp9',
|
||||
'exampleappprefs.c',
|
||||
app9_resources,
|
||||
app9_schemas,
|
||||
dependencies: libgtk_dep)
|
||||
dependencies: libgtk_dep,
|
||||
c_args: common_cflags)
|
||||
|
||||
Reference in New Issue
Block a user