mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-04-06 06:03:54 +08:00
14 lines
266 B
Python
14 lines
266 B
Python
import os
|
|
|
|
env = Environment(
|
|
COMPILATIONDB_USE_ABSPATH=True,
|
|
tools=["default", "compilation_db"],
|
|
)
|
|
|
|
SetOption('num_jobs', max(1, int((os.cpu_count() or 1)-1)))
|
|
|
|
env.CompilationDatabase("compile_commands.json")
|
|
|
|
# panda fw & test files
|
|
SConscript('SConscript')
|