meson.build 377 B

1234567891011121314151617
  1. subdir('cmds')
  2. # The files() function doesn't accept custom targets (such as vcs_tag)
  3. # Kinda annoying.
  4. app_files = files(
  5. 'app.d',
  6. 'logger.d',
  7. 'util.d',
  8. )
  9. pd_version_file = vcs_tag(command: ['git', 'rev-parse', '--short', 'HEAD'],
  10. input: 'pd_version.d.in', output: 'pd_version.d',
  11. fallback: 'release')
  12. app_files += cmds_files
  13. app_files += pd_version_file[0]