mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Add the generated version header to the file list
Otherwise it may not be generated yet on first build.
This commit is contained in:
@@ -47,6 +47,7 @@ shared_library(
|
|||||||
'src/common/serialization.cpp',
|
'src/common/serialization.cpp',
|
||||||
'src/plugin/host-bridge.cpp',
|
'src/plugin/host-bridge.cpp',
|
||||||
'src/plugin/plugin.cpp',
|
'src/plugin/plugin.cpp',
|
||||||
|
version_header,
|
||||||
],
|
],
|
||||||
native : true,
|
native : true,
|
||||||
include_directories : include_dir,
|
include_directories : include_dir,
|
||||||
@@ -65,6 +66,7 @@ executable(
|
|||||||
'src/wine-host/plugin-bridge.cpp',
|
'src/wine-host/plugin-bridge.cpp',
|
||||||
'src/wine-host/vst-host.cpp',
|
'src/wine-host/vst-host.cpp',
|
||||||
'src/wine-host/utils.cpp',
|
'src/wine-host/utils.cpp',
|
||||||
|
version_header,
|
||||||
],
|
],
|
||||||
native : false,
|
native : false,
|
||||||
include_directories : include_dir,
|
include_directories : include_dir,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Generate a file containing the last annotated git tag and possibly also the
|
# Generate a file containing the last annotated git tag and possibly also the
|
||||||
# amount of commits since then and the hash of the last commit
|
# amount of commits since then and the hash of the last commit
|
||||||
vcs_tag(
|
version_header = vcs_tag(
|
||||||
command : ['git', 'describe', '--always'],
|
command : ['git', 'describe', '--always'],
|
||||||
input : 'version.h.in',
|
input : 'version.h.in',
|
||||||
output : 'version.h',
|
output : 'version.h',
|
||||||
|
|||||||
Reference in New Issue
Block a user