qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: "Guillaume Le Louët" <guillaume.lelouet@gmail.com>
Cc: Thomas Huth <thuth@redhat.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] .gitignore contains .c and .h ?
Date: Mon, 4 May 2015 12:59:50 +0100	[thread overview]
Message-ID: <CAFEAcA-meBi43n4EfSKQjump-pBF9YUskb9qrfdUJb-NVMs4Mg@mail.gmail.com> (raw)
In-Reply-To: <55475A0A.1000007@gmail.com>

On 4 May 2015 at 12:37, Guillaume Le Louët <guillaume.lelouet@gmail.com> wrote:
> You're right, I noticed that compiling with make was removing my
> modifications.
> I ended up modifying the qapi-schema.json .
>
> May I advise to move the generated .c and .h files into a generated/ folder
> ?

If you want to keep generated files out of your source tree
I would recommend using a separate build tree:
 mkdir build/whatever && (cd build/whatever && ../../configure [args here])
 make -C build/whatever

(You'll need to distclean your tree first if you've been doing
in-source-tree builds.)

-- PMM

      reply	other threads:[~2015-05-04 12:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04  7:47 [Qemu-devel] .gitignore contains .c and .h ? Guillaume Le Louët
2015-05-04 11:01 ` Thomas Huth
2015-05-04 11:37   ` Guillaume Le Louët
2015-05-04 11:59     ` Peter Maydell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFEAcA-meBi43n4EfSKQjump-pBF9YUskb9qrfdUJb-NVMs4Mg@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=guillaume.lelouet@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).