diff --git a/examples/hello-world.c b/examples/hello/hello-world.c similarity index 100% rename from examples/hello-world.c rename to examples/hello/hello-world.c diff --git a/examples/hello/meson.build b/examples/hello/meson.build new file mode 100644 index 0000000000..bd4cdd51e7 --- /dev/null +++ b/examples/hello/meson.build @@ -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 +) diff --git a/examples/meson.build b/examples/meson.build index 22e74f34d4..ae007bc404 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -2,7 +2,6 @@ examples = [ 'builder', 'drawing', 'grid-packing', - 'hello-world', 'plugman', 'search-bar', 'sunny',