A tool that converts Visual Studio 2026 solution files(.slnx) into compile_commands.json compilation database.
Basic usage:
s2cc path outdir ...
path: Path to your solution file.
outdir (optional) sets the directory to save the compile_commands.json file.
-D [variable]=[value] sets the value of a variable(e.g.,-D Configuration=Debug).
--version prints version information.
--help shows help message
s2cc ./build/app.slnxDownload the executable file from releases and add it to PATH.