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.
11 lines
391 B
11 lines
391 B
10 years ago
|
entity_lib = static_library('entity', 'entity1.c')
|
||
|
|
||
7 years ago
|
entity_dep = declare_dependency(link_with : [[entity_lib]],
|
||
6 years ago
|
include_directories : [['.']],
|
||
9 years ago
|
sources : 'entity2.c',
|
||
|
compile_args : ['-DUSING_ENT=1'],
|
||
9 years ago
|
version : '1.2.3',
|
||
9 years ago
|
link_args : []) # No simple way of testing linker flags :(.
|
||
9 years ago
|
|
||
|
assert(entity_dep.version().version_compare('==1.2.3'), 'Declare_dep has incorrect version string.')
|