Skip to content

Commit 1e08970

Browse files
committed
[scripts] Generate compilation db in examples that use it
1 parent 3502929 commit 1e08970

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/scripts/examples_compile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def build(project):
6464
commands = []
6565
if ":build:scons" in project_cfg:
6666
commands.append( ("scons build --cache-show --random", "SCons") )
67+
if ":build:compilation_db" in project_cfg:
68+
commands.append( ("scons compilation_db", "CompilationDB (via SCons)") )
6769
if ":build:make" in project_cfg and not is_running_on_windows:
6870
commands.append( ("make build", "Make") )
6971
elif ":build:cmake" in project_cfg and not is_running_on_windows:

0 commit comments

Comments
 (0)