From ab4ee40c1b235313217054304ae58d183a31a35b Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Mon, 22 Dec 2014 11:36:31 +0100 Subject: [PATCH] #14: include script for making compile_commands using bear --- .gitignore | 2 ++ devel/make_compile_commands.sh | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100755 devel/make_compile_commands.sh diff --git a/.gitignore b/.gitignore index 0cb233224..7a12d02ce 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ core* \#*\# +compile_commands.json + diff --git a/devel/make_compile_commands.sh b/devel/make_compile_commands.sh new file mode 100755 index 000000000..81e5079ab --- /dev/null +++ b/devel/make_compile_commands.sh @@ -0,0 +1,11 @@ +#! /usr/bin/bash +# +# this uses bear to make compile_commands.json for for SCons +# +# https://github.com/gauteh/astroid/issues/14 +# +# run from root source directory. + +scons -c +bear -- scons --verbose +