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