mesonbuild/meson

Install generated files into multiple directories

Open

#2 416 ouverte le 3 oct. 2017

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)Python (1 465 forks)batch import
enhancementgeneratorsgood first issuehelp wantedinstall targets

Métriques du dépôt

Stars
 (4 978 stars)
Métriques de merge PR
 (Merge moyen 139j 13h) (51 PRs mergées en 30 j)

Description

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.

Guide contributeur