Fix compile_commands generation for vim
This commit is contained in:
parent
8e16bc1e87
commit
dedb6857a3
2 changed files with 5 additions and 0 deletions
4
compile_commands_env.py
Normal file
4
compile_commands_env.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
import os
|
||||
Import("env")
|
||||
|
||||
env.Replace(COMPILATIONDB_PATH=os.path.join("$PROJECT_DIR", "compile_commands.json"))
|
|
@ -12,6 +12,7 @@
|
|||
platform = atmelavr
|
||||
board = nanoatmega328
|
||||
framework = arduino
|
||||
extra_scripts = post:compile_commands_env.py
|
||||
;lib_deps =
|
||||
; stevemarple/AsyncDelay @ ^1.1.2
|
||||
; stevemarple/SoftWire @ ^2.0.4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue