【发布时间】:2020-03-26 09:41:48
【问题描述】:
在介子构建系统中,我想从依赖项中获取包含目录:
简单的例子 meson.build,以 wxWidgets 依赖为例:
project('project1', ['cpp'])
wxdep = dependency('wxWidgets')
wxincludes = # ... how to get the include directories from wxdep ?
# in this case, wxincludes will be used to compile a resource file:
windows = import('windows')
windows.compile_resources('test.rc', include_directories: [wxincludes])
如何从依赖项中获取包含目录以在后续命令中使用?
【问题讨论】:
标签: meson-build