diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-11-17 03:08:40 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-11-24 03:15:32 -0500 |
commit | ee5c68a963c9959ea1a5b6762fdea1dd94de98d1 (patch) | |
tree | dbdb3305d31398f8320b9ba3ece7a523b71dea16 /projects/generate.bat | |
parent | 036ebac0134de3b72052a46f734e4ca81bb96055 (diff) |
projects: Fix Visual Studio projects SSH builds
- Generate VQUIC and VSSH filenames in Visual Studio project files.
Prior to this change generated Visual Studio project configurations that
enabled SSH did not build properly. Broken since SSH files were moved to
lib/vssh 3 months ago in 5b2d703.
Fixes https://github.com/curl/curl/issues/4492
Fixes https://github.com/curl/curl/issues/4630
Closes https://github.com/curl/curl/pull/4607
Diffstat (limited to 'projects/generate.bat')
-rw-r--r-- | projects/generate.bat | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/projects/generate.bat b/projects/generate.bat index 32a88f51b..9aa0633dc 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -303,6 +303,14 @@ rem for /f "delims=" %%c in ('dir /b ..\lib\vauth\*.c') do call :element %1 lib\vauth "%%c" %3 ) else if "!var!" == "CURL_LIB_VAUTH_H_FILES" ( for /f "delims=" %%h in ('dir /b ..\lib\vauth\*.h') do call :element %1 lib\vauth "%%h" %3 + ) else if "!var!" == "CURL_LIB_VQUIC_C_FILES" ( + for /f "delims=" %%c in ('dir /b ..\lib\vquic\*.c') do call :element %1 lib\vquic "%%c" %3 + ) else if "!var!" == "CURL_LIB_VQUIC_H_FILES" ( + for /f "delims=" %%h in ('dir /b ..\lib\vquic\*.h') do call :element %1 lib\vquic "%%h" %3 + ) else if "!var!" == "CURL_LIB_VSSH_C_FILES" ( + for /f "delims=" %%c in ('dir /b ..\lib\vssh\*.c') do call :element %1 lib\vssh "%%c" %3 + ) else if "!var!" == "CURL_LIB_VSSH_H_FILES" ( + for /f "delims=" %%h in ('dir /b ..\lib\vssh\*.h') do call :element %1 lib\vssh "%%h" %3 ) else if "!var!" == "CURL_LIB_VTLS_C_FILES" ( for /f "delims=" %%c in ('dir /b ..\lib\vtls\*.c') do call :element %1 lib\vtls "%%c" %3 ) else if "!var!" == "CURL_LIB_VTLS_H_FILES" ( @@ -319,7 +327,7 @@ rem Generates a single file xml element. rem rem %1 - Project Type (dsp for VC6, vcproj1 for VC7 and VC7.1, vcproj2 for VC8 and VC9 rem or vcxproj for VC10, VC11, VC12, VC14 and VC15) -rem %2 - Directory (src, lib, lib\vauth or lib\vtls) +rem %2 - Directory (src, lib, lib\vauth, lib\vquic, lib\vssh, lib\vtls) rem %3 - Source filename rem %4 - Output project file rem @@ -327,6 +335,10 @@ rem set "SPACES= " if "%2" == "lib\vauth" ( set "TABS= " + ) else if "%2" == "lib\vquic" ( + set "TABS= " + ) else if "%2" == "lib\vssh" ( + set "TABS= " ) else if "%2" == "lib\vtls" ( set "TABS= " ) else ( |