mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-21 16:41:03 +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.
|
||||
run_command(
|
||||
'cp',
|
||||
join_paths(meson.build_root(), 'src', 'config.rs'),
|
||||
join_paths(meson.source_root(), 'src', 'config.rs'),
|
||||
check: true
|
||||
)
|
||||
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')))
|
||||
|
||||
rust_sources = files(
|
||||
'gps/player.rs',
|
||||
|
|
Loading…
Reference in a new issue