summaryrefslogtreecommitdiff
path: root/artifacts/meson.build
blob: ac15661064fe695ebf3c499ee3de5532b64a24c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
artifacts = [
  index_html,
  css,
  schematic,
  bom,
  simulation,
  update_image,
  factory_image,
  kicad_pcb,
]

foreach artifact : artifacts
  custom_target(
    output: [fs.name(artifact.full_path())],
    command: [
      cp,
      artifact.full_path(),
      meson.current_build_dir(),
    ],
    depends: artifact,
    build_by_default: true,
  )
endforeach