Skip to content

LaughingNaiLoong/slnx2compilecmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slnx2CompileCommands(s2cc)

Version GitHub Repo stars GitHub last commit (branch) 简体中文

A tool that converts Visual Studio 2026 solution files(.slnx) into compile_commands.json compilation database.

Usage

Arguments

Basic usage: s2cc [path] ...

path: Path to your solution file.

--outdir [path] sets the directory to save the compile_commands.json file.

-D [variable]=[value] sets the value of a variable(e.g.,-D Configuration=Debug).

Important

Usually, we have to specify the values of variables Configuration(e.g,Debug, Release) and Platform(e.g,x64, Win32) to make s2cc select correct configuration; otherwise, it won't output anything.

--version prints version information.

--help shows help message

Example

s2cc ./app.slnx --outdir . -D Configuration=Debug -D Platform=x64

Installation

Download the executable file from releases and add it to PATH.

About

A tool that converts Visual Studio 2026 solution files(.slnx) into compile_commands.json compilation database.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors