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.
8 lines
354 B
8 lines
354 B
5 years ago
|
project('pkg_config_path option')
|
||
|
|
||
|
build = dependency('totally_made_up_dep', native: true, method : 'pkg-config')
|
||
|
host = dependency('totally_made_up_dep', native: false, method : 'pkg-config')
|
||
|
|
||
|
assert(build.version() == '4.5.6', 'wrong version for build machine dependency')
|
||
|
assert(host.version() == '1.2.3', 'wrong version for host machine dependency')
|