The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
385 B
13 lines
385 B
project('sdl2 test', 'c') |
|
|
|
sdl2_dep = dependency('sdl2', version : '>=2.0.0') |
|
|
|
e = executable('sdl2prog', 'sdl2prog.c', dependencies : sdl2_dep) |
|
|
|
test('sdl2test', e) |
|
|
|
# Ensure that we can find it with sdl2-config too, using the legacy method name |
|
configdep = dependency('sdl2', method : 'sdlconfig') |
|
|
|
# And the modern method name |
|
configdep = dependency('sdl2', method : 'config-tool')
|
|
|