[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] add Visual Studio Code configuration
From: |
Peter Maydell |
Subject: |
Re: [PATCH] add Visual Studio Code configuration |
Date: |
Wed, 12 May 2021 12:02:44 +0100 |
On Wed, 12 May 2021 at 11:10, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> Add configurations to build files with Visual Studio Code and
> to retrieve the search path for headers from the compile_commands.json
> file.
>
> Using this configuration requires installing the Meson extension and
> using a build subdirectory that matches the one configured in the
> Meson extension itself.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>> diff --git
> a/scripts/rebuild.py b/scripts/rebuild.py
> new file mode 100755
> index 0000000000..e35e08f42d
> --- /dev/null
> +++ b/scripts/rebuild.py
> @@ -0,0 +1,22 @@
> +#! /usr/bin/env python3
> +#
> +# Author: Paolo Bonzini <pbonzini@redhat.com>
> +#
> +# This program compiles the input files using commands from the
> +# compile_commands.json file. (Unlike Make/ninja, the _source_
> +# file is passed to the program rather than the targe). It is
> +# mostly intended to be called from editors.
This seems weird. I don't think we should try to support multiple
ways of building QEMU -- editors should just run make the same
way everybody else does...
-- PMM