【问题标题】:install_man() doesn not take path of generated fileinstall_man() 不采用生成文件的路径
【发布时间】:2019-03-25 08:17:28
【问题描述】:

我正在一个项目中工作,我需要为 geoclue 构建手册页。

我正在使用介子的install_man() 函数(更多细节here)从configure_file() 函数(更多细节here)传递生成的文件。

但是我收到了一个错误,即 install_man 指定的文件不存在。

很可能是因为它是同时使用ninja -C build生成的

有什么方法可以让它工作吗?

【问题讨论】:

    标签: c build ninja meson-build


    【解决方案1】:

    参考this issue得到答案

    做这样的事情 foo = configure_file(...) 然后做 install_man(foo)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-04
      • 1970-01-01
      • 1970-01-01
      • 2016-09-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多