mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
build: Fixed Visual Studio project file generator missing some files
As of commit 6cdd88f22c the Visual Studio project file generator would skip the first and last file from each group of files.
This commit is contained in:
parent
dce748d3f1
commit
96876b371b
@ -126,6 +126,8 @@ rem
|
|||||||
set "TABS= "
|
set "TABS= "
|
||||||
)
|
)
|
||||||
|
|
||||||
|
call :extension %3 ext
|
||||||
|
|
||||||
if "%1" == "dsp" (
|
if "%1" == "dsp" (
|
||||||
echo # Begin Source File>> %4
|
echo # Begin Source File>> %4
|
||||||
echo.>> %4
|
echo.>> %4
|
||||||
@ -141,8 +143,6 @@ rem
|
|||||||
echo %TABS%^>>> %4
|
echo %TABS%^>>> %4
|
||||||
echo %TABS%^</File^>>> %4
|
echo %TABS%^</File^>>> %4
|
||||||
) else if "%1" == "vcxproj" (
|
) else if "%1" == "vcxproj" (
|
||||||
call :extension %3 ext
|
|
||||||
|
|
||||||
if "%ext%" == "c" (
|
if "%ext%" == "c" (
|
||||||
echo %SPACES%^<ClCompile Include=^"..\..\..\..\%2\%~3^" /^>>> %4
|
echo %SPACES%^<ClCompile Include=^"..\..\..\..\%2\%~3^" /^>>> %4
|
||||||
) else if "%ext%" == "h" (
|
) else if "%ext%" == "h" (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user