[02/25] ignore build directory

Message ID 20221020182603.815-3-luoyonggang@gmail.com
State Superseded
Headers
Series Patches for building with mingw/gcc msvc/clang-cl |

Commit Message

Yonggang Luo Oct. 20, 2022, 6:25 p.m. UTC
  Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Mark Wielaard Oct. 27, 2022, 1:03 p.m. UTC | #1
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
> ---
>  .gitignore | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 8bcd88d7..ca06dddd 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -21,6 +21,7 @@ Makefile.in
>  /INSTALL
>  /aclocal.m4
>  /autom4te.*
> +/build
>  /config.cache
>  /config.h
>  /config.h.in

Why is this necessary?

Thanks,

Mark
  
Aleksei Vetrov via Elfutils-devel Dec. 16, 2022, 9:14 p.m. UTC | #2
It's a common step to configure and make under build directory, so that the
IDE won't affect by it

On Thu, Oct 27, 2022 at 9:03 PM Mark Wielaard <mark@klomp.org> wrote:

> On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
> wrote:
> > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
> > ---
> >  .gitignore | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/.gitignore b/.gitignore
> > index 8bcd88d7..ca06dddd 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -21,6 +21,7 @@ Makefile.in
> >  /INSTALL
> >  /aclocal.m4
> >  /autom4te.*
> > +/build
> >  /config.cache
> >  /config.h
> >  /config.h.in
>
> Why is this necessary?
>
> Thanks,
>
> Mark
>
  
Mark Wielaard Dec. 20, 2022, 12:35 p.m. UTC | #3
On Sat, 2022-12-17 at 05:14 +0800, 罗勇刚(Yonggang Luo) wrote:
> It's a common step to configure and make under build directory, so
> that the
> IDE won't affect by it

I rather not just ignore a random directory name, unless it clearly is
a default for the build system.
  

Patch

diff --git a/.gitignore b/.gitignore
index 8bcd88d7..ca06dddd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@  Makefile.in
 /INSTALL
 /aclocal.m4
 /autom4te.*
+/build
 /config.cache
 /config.h
 /config.h.in