Skip to content

Commit

Permalink
add meson.build in addition to autotools
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Luebbe <[email protected]>
  • Loading branch information
jluebbe committed Jul 4, 2024
1 parent 8628919 commit c232fa9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*.o
/aclocal.m4
/autom4te.cache
/build
/compile
/config.log
/config.status
Expand Down
19 changes: 19 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
project(
'platsch',
'c',
version : '2019.12.0',
default_options : [
'warning_level=1',
],
license : '0BSD',
)

libdrm_dep = dependency('libdrm', version : '>=2.4.112')

executable(
'platsch',
sources : ['platsch.c'],
dependencies : [libdrm_dep],
install : true,
install_dir : get_option('sbindir'),
)

0 comments on commit c232fa9

Please sign in to comment.