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.
12 lines
367 B
12 lines
367 B
5 years ago
|
# Define version only in project, should get inherited by declare_dependency
|
||
|
project('some', 'c', version : '0.1')
|
||
|
|
||
|
somelib = shared_library('some', 'lib.c')
|
||
|
someinc = include_directories('.')
|
||
|
|
||
|
some_dep = declare_dependency(link_with : somelib,
|
||
|
include_directories : someinc)
|
||
|
|
||
|
fakezlib_dep = declare_dependency(link_with : somelib,
|
||
|
include_directories : someinc)
|