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.
52 lines
1.6 KiB
52 lines
1.6 KiB
7 years ago
|
project('dependency factory', meson_version : '>=0.40')
|
||
7 years ago
|
|
||
|
dep = dependency('gl', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
7 years ago
|
|
||
|
dep = dependency('SDL2', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
|
|
||
|
dep = dependency('SDL2', method: 'config-tool', required: false)
|
||
|
if dep.found() and dep.type_name() == 'configtool'
|
||
|
dep.get_configtool_variable('prefix')
|
||
|
endif
|
||
7 years ago
|
|
||
|
dep = dependency('Vulkan', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
7 years ago
|
|
||
|
dep = dependency('pcap', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
|
|
||
|
dep = dependency('pcap', method: 'config-tool', required: false)
|
||
|
if dep.found() and dep.type_name() == 'configtool'
|
||
|
dep.get_configtool_variable('prefix')
|
||
|
endif
|
||
7 years ago
|
|
||
|
dep = dependency('cups', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
|
|
||
|
dep = dependency('cups', method: 'config-tool', required: false)
|
||
|
if dep.found() and dep.type_name() == 'configtool'
|
||
|
dep.get_configtool_variable('prefix')
|
||
|
endif
|
||
7 years ago
|
|
||
|
dep = dependency('libwmf', method: 'pkg-config', required: false)
|
||
|
if dep.found() and dep.type_name() == 'pkgconfig'
|
||
|
dep.get_pkgconfig_variable('prefix')
|
||
|
endif
|
||
|
|
||
|
dep = dependency('libwmf', method: 'config-tool', required: false)
|
||
|
if dep.found() and dep.type_name() == 'configtool'
|
||
|
dep.get_configtool_variable('prefix')
|
||
|
endif
|