Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paopaol authored May 24, 2022
1 parent b62013d commit f2b04f5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@

# vs_export
read visual studio 15 sln file,export clang compile_commands.json
read visual studio 15/17/19/22 sln file,export clang compile_commands.json

```cmd
usage:vs_export options
-s path sln filename
-c configuration project configuration,eg Debug|Win32.
default Debug|Win32
```

## example

```cmd
vs_export.exe -s NYWinHotspot.sln -c "Debug|x64"
```

this can export a compile_commands.json. the compile_commands.json can used by clangd or ccls or some other cpp language server.

0 comments on commit f2b04f5

Please sign in to comment.