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
+2
-1
@@ -76,8 +76,9 @@ if %ERRORLEVEL% neq 0 (
|
||||
exit /b %ERRORLEVEL%
|
||||
)
|
||||
|
||||
echo Solutions generated successfully:
|
||||
echo Solutions and LSP configuration generated successfully:
|
||||
echo - Juliet.sln
|
||||
echo - Romeo.sln
|
||||
echo - JulietShaderCompiler.sln
|
||||
echo - compile_commands.json
|
||||
exit /b 0
|
||||
@@ -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!"
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@ pushd .
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||
popd
|
||||
|
||||
set path=W:\Classified\Juliet\misc;%path%
|
||||
set path=%~dp0;%path%
|
||||
set _NO_DEBUG_HEAP=1
|
||||
Reference in new issue
Block a user