From 5fe797b6f9cf0059ab418f46ba634656a21acb28 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Wed, 18 Feb 2015 22:15:05 -0800 Subject: [PATCH] Add top-level folders to gitignore to enable out-of-source builds --- .gitignore | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 5b2481bb..ac464346 100644 --- a/.gitignore +++ b/.gitignore @@ -5,20 +5,35 @@ *.cmake !/cmake/*.cmake *~ -/test/benchmark_test -/test/re_test + +# cmake files. /Testing CMakeCache.txt CMakeFiles/ -Makefile -bin/ cmake_install.cmake + +# makefiles. +Makefile + +# in-source build. +bin/ lib/ +/test/benchmark_test +/test/re_test + +# exuberant ctags. tags + +# YouCompleteMe configuration. .ycm_extra_conf.pyc +# ninja generated files. .ninja_deps .ninja_log build.ninja install_manifest.txt rules.ninja + +# out-of-source build top-level folders. +build/ +_build/