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

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