Move example to its own directory

This commit is contained in:
Simon Ser 2019-09-16 23:41:19 +03:00
parent 67549c6c9f
commit 3999474b32
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 6 additions and 6 deletions

5
example/meson.build Normal file
View file

@ -0,0 +1,5 @@
executable(
'simple',
files('simple.c'),
dependencies: [liftoff],
)

View file

@ -44,12 +44,6 @@ liftoff = declare_dependency(
dependencies: liftoff_deps,
)
executable(
'example',
files('example.c'),
dependencies: [liftoff],
)
pkgconfig = import('pkgconfig')
pkgconfig.generate(
libraries: liftoff_lib,
@ -59,4 +53,5 @@ pkgconfig.generate(
description: 'Hardware composer library',
)
subdir('example')
subdir('test')