Prepare waf update to 2.0.23 and enable 'clang_compilation_database'
This enables the generation of build/compile_commands.json which is a compilation database recognized by some IDE/editors to provide compiler quality linting. To name a few: - Visual Studio Code - VIM (with ALE plugin)
This commit is contained in:
parent
4f5779e67d
commit
b8e1cd53ce
@ -11,10 +11,10 @@
|
||||
|
||||
ARDOURSRC=`pwd`
|
||||
cd /tmp
|
||||
curl https://waf.io/waf-2.0.19.tar.bz2 | tar xj
|
||||
cd waf-2.0.19
|
||||
curl https://waf.io/waf-2.0.23.tar.bz2 | tar xj
|
||||
cd waf-2.0.23
|
||||
|
||||
patch -p1 < $ARDOURSRC/tools/patches/waf-str.patch
|
||||
|
||||
./waf-light -v --make-waf --tools=misc,doxygen,$ARDOURSRC/tools/autowaf.py,$ARDOURSRC/tools/misc.py --prelude=''
|
||||
./waf-light -v --make-waf --tools=misc,doxygen,clang_compilation_database,$ARDOURSRC/tools/autowaf.py,$ARDOURSRC/tools/misc.py --prelude=''
|
||||
cp ./waf $ARDOURSRC/waf
|
||||
|
Loading…
Reference in New Issue
Block a user