Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pebble_tool/sdk/templates/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def configure(ctx):
Universal configuration: add your change prior to calling ctx.load('pebble_sdk').
"""
ctx.load('pebble_sdk')
# this will generate build/compile_commands.json
# this allows clangd to provide code code completion, go-to-definition, etc.
# see https://clangd.llvm.org/installation#editor-plugins
ctx.load('clang_compilation_database')


def build(ctx):
Expand Down