Added compilation_db tool for improved code navigation using clangd.

This commit is contained in:
Patrick 2023-06-12 12:28:46 +02:00
parent 3a9118cb0d
commit a370951f4a

View File

@ -53,7 +53,7 @@ else:
# Default tools with no platform defaults to gnu toolchain. # Default tools with no platform defaults to gnu toolchain.
# We apply platform specific toolchains via our custom tools. # We apply platform specific toolchains via our custom tools.
env = Environment(tools=["default"], PLATFORM="") env = Environment(tools=["default", "compilation_db"], PLATFORM="") # <MEWIN> Added compilation_db tool for improved code navigation using clangd.
# Default num_jobs to local cpu count if not user specified. # Default num_jobs to local cpu count if not user specified.
# SCons has a peculiarity where user-specified options won't be overridden # SCons has a peculiarity where user-specified options won't be overridden