mirror of
https://git.sr.ht/~calebccff/pbsplash
synced 2026-01-12 20:48:40 -09:00
move to meson, use tfblib as an external dependency
needs: https://github.com/vvaltchev/tfblib/pull/4
This commit is contained in:
parent
2ad7ff2a29
commit
062a665899
7 changed files with 21 additions and 15 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
build/
|
builddir/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 3.10)
|
|
||||||
|
|
||||||
# set the project name
|
|
||||||
project(pbsplash)
|
|
||||||
|
|
||||||
# add the executable
|
|
||||||
add_executable(pbsplash pbsplash.c)
|
|
||||||
|
|
||||||
include_directories(tfblib/include)
|
|
||||||
|
|
||||||
add_subdirectory(tfblib)
|
|
||||||
|
|
||||||
target_link_libraries(pbsplash tfb)
|
|
||||||
11
meson.build
Normal file
11
meson.build
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
project('pbsplash', 'c')
|
||||||
|
|
||||||
|
deps = [
|
||||||
|
dependency('tfblib'),
|
||||||
|
]
|
||||||
|
|
||||||
|
inc = [
|
||||||
|
include_directories('include'),
|
||||||
|
]
|
||||||
|
|
||||||
|
subdir('src')
|
||||||
8
src/meson.build
Normal file
8
src/meson.build
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
src = [
|
||||||
|
'pbsplash.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
executable('pbsplash', src,
|
||||||
|
include_directories: inc,
|
||||||
|
dependencies: deps,
|
||||||
|
install: true)
|
||||||
1
tfblib
1
tfblib
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 3e5de1026f2965591fb9feb1256c0ea10f4dc928
|
|
||||||
Loading…
Reference in a new issue