1234567891011121314151617 |
- subdir('cmds')
- # The files() function doesn't accept custom targets (such as vcs_tag)
- # Kinda annoying.
- app_files = files(
- 'app.d',
- 'logger.d',
- 'util.d',
- )
- pd_version_file = vcs_tag(command: ['git', 'rev-parse', '--short', 'HEAD'],
- input: 'pd_version.d.in', output: 'pd_version.d',
- fallback: 'release')
- app_files += cmds_files
- app_files += pd_version_file[0]
|