mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-25 10:30:59 +00:00
src: use python to copy config.rs file
This commit is contained in:
parent
a744b17490
commit
9bcca3863a
1 changed files with 1 additions and 6 deletions
|
@ -9,12 +9,7 @@ configure_file(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Copy the config.rs output to the source directory.
|
# Copy the config.rs output to the source directory.
|
||||||
run_command(
|
run_command(python3, '-c', 'import shutil; shutil.copyfile("@0@", "@1@")'.format(join_paths(meson.build_root(), 'src', 'config.rs'), join_paths(meson.source_root(), 'src', 'config.rs')))
|
||||||
'cp',
|
|
||||||
join_paths(meson.build_root(), 'src', 'config.rs'),
|
|
||||||
join_paths(meson.source_root(), 'src', 'config.rs'),
|
|
||||||
check: true
|
|
||||||
)
|
|
||||||
|
|
||||||
rust_sources = files(
|
rust_sources = files(
|
||||||
'gps/player.rs',
|
'gps/player.rs',
|
||||||
|
|
Loading…
Reference in a new issue