-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |