Skip to content
Myr

meson: version.sh: SOURCE_DIR is not valid in custom_targets()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent b7bf750 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:meson.build+1 added-1 removed
109 unmodified lines
110version = custom_target(111 'generate_version',112 build_always_stale: true,113 output: 'version.h',114 command: [generate_version_sh, meson.project_version(), '@SOURCE_DIR@', '@OUTPUT@'])114 command: [generate_version_sh, meson.project_version(), '@SOURCE_ROOT@', '@OUTPUT@'])115116executable(117 'fuzzel',118 'application.c', 'application.h',
42 unmodified lines