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 合併指標
 (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.

貢獻者指南