mesonbuild/meson

Install generated files into multiple directories

开放

#2,416 创建于 2017年10月3日

 (5 条评论) (0 个反应) (0 位负责人)Python (1,465 个派生)batch import
enhancementgeneratorsgood first issuehelp wantedinstall targets

仓库指标

星标
 (4,978 个星标)
PR 合并指标
 (平均合并 139天 13小时) (30 天内合并 51 个 PR)

描述

Since meson 0.40, meson it's able to install generated files into multiple directories. However, those installation directories are used one by one for each generated target.

It would be nice to have something like the following,

custom_target(
  output,
  input: output_input,
  output: output,
  command: cmd,
  install: true,
  install_dir: [dir1, dir2]
)

It would generate the output file after processing output_input file with the cmd command, and at install time, this file would be copied to dir1 and dir2.

贡献者指南