Support of clangd for the project
This commit is contained in:
1 parent
7075556bf2
commit
16ba641d8a
6 files changed
+613
-126
No files matched your search
@@ -33,6 +33,11 @@ if /i "%~1"=="gen_vs" (
|
||||
set GEN_VS_PLAN=%~2
|
||||
goto do_compile_build_tool
|
||||
)
|
||||
if /i "%~1"=="gen_compile_commands" (
|
||||
set COMMAND_GEN_COMPILE_COMMANDS=1
|
||||
set GEN_COMPILE_COMMANDS_PLAN=%~2
|
||||
goto do_compile_build_tool
|
||||
)
|
||||
if /i "%~1"=="clean" (
|
||||
echo [BUILD] Cleaning output directories...
|
||||
if exist Intermediate rmdir /s /q Intermediate
|
||||
@@ -118,6 +123,12 @@ if "!COMMAND_GEN_VS!"=="1" (
|
||||
exit /b !ERRORLEVEL!
|
||||
)
|
||||
|
||||
if "!COMMAND_GEN_COMPILE_COMMANDS!"=="1" (
|
||||
echo [BUILD] Generating compile_commands.json...
|
||||
"%BUILD_TOOL%" gen_compile_commands "!GEN_COMPILE_COMMANDS_PLAN!"
|
||||
exit /b !ERRORLEVEL!
|
||||
)
|
||||
|
||||
echo [BUILD] Generating Build Plan...
|
||||
set PLAN_FILE=Intermediate\build_plan.txt
|
||||
if exist "!PLAN_FILE!" del /f /q "!PLAN_FILE!"
|
||||
|
||||
Reference in new issue
Block a user