[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] .gitignore contains .c and .h ?

From: Peter Maydell
Subject: Re: [Qemu-devel] .gitignore contains .c and .h ?
Date: Mon, 4 May 2015 12:59:50 +0100

On 4 May 2015 at 12:37, Guillaume Le Louët <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]