2023-08-24 14:01:27 -07:00
|
|
|
AddOption('--minimal',
|
|
|
|
|
action='store_false',
|
|
|
|
|
dest='extras',
|
2022-11-30 20:22:09 -08:00
|
|
|
default=True,
|
2023-08-24 14:01:27 -07:00
|
|
|
help='the minimum build. no tests, tools, etc.')
|
2021-03-31 18:35:47 -07:00
|
|
|
|
2023-04-26 22:59:58 -07:00
|
|
|
AddOption('--ubsan',
|
|
|
|
|
action='store_true',
|
|
|
|
|
help='turn on UBSan')
|
|
|
|
|
|
2024-01-22 01:16:53 +01:00
|
|
|
env = Environment(
|
|
|
|
|
COMPILATIONDB_USE_ABSPATH=True,
|
|
|
|
|
tools=["default", "compilation_db"],
|
|
|
|
|
)
|
2025-05-19 19:40:50 -07:00
|
|
|
|
2025-07-03 19:07:12 +02:00
|
|
|
env.CompilationDatabase("compile_commands.json")
|
2024-01-22 01:16:53 +01:00
|
|
|
|
2022-11-30 20:22:09 -08:00
|
|
|
# panda fw & test files
|
|
|
|
|
SConscript('SConscript')
|