Make a standalone hello world

We want to test building against the installed GTK
in ci, so lets add a standalone project.
This commit is contained in:
Matthias Clasen 2021-06-08 17:26:36 -04:00
parent 5ef6944a41
commit 06caa57f9a
3 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,10 @@
project('hello', 'c',
version: '4.3.0',
meson_version: '>= 0.50.0',
)
executable('hello',
[ 'hello-world.c' ],
dependencies: [ dependency('gtk4') ],
install: false
)

View File

@ -2,7 +2,6 @@ examples = [
'builder', 'builder',
'drawing', 'drawing',
'grid-packing', 'grid-packing',
'hello-world',
'plugman', 'plugman',
'search-bar', 'search-bar',
'sunny', 'sunny',