summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-02-26 20:43:46 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-02-26 20:47:23 +0000
commit0d04e859e119c79fffcf4e5636bbca1393d3372a (patch)
tree5a3cb8c49fe3fac0ed5ded08a56c0ac68a79a87a /projects
parentbc3a44aebc22f5427e8408894982af6c1e8d7b1b (diff)
downloadcurl-0d04e859e119c79fffcf4e5636bbca1393d3372a.tar.gz
build: Added support to Generate.bat for files in the upcoming vauth folder
Diffstat (limited to 'projects')
-rw-r--r--projects/generate.bat10
1 files changed, 8 insertions, 2 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index 5a3a27934..d847769c4 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -239,6 +239,10 @@ rem
for /f "delims=" %%h in ('dir /b ..\lib\*.h') do call :element %1 lib "%%h" %3
) else if "!var!" == "CURL_LIB_RC_FILES" (
for /f "delims=" %%r in ('dir /b ..\lib\*.rc') do call :element %1 lib "%%r" %3
+ ) else if "!var!" == "CURL_LIB_VAUTH_C_FILES" (
+ 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_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" (
@@ -255,13 +259,15 @@ 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 and VC12)
-rem %2 - Directory (src, lib or lib\vtls)
+rem %2 - Directory (src, lib, lib\vauth or lib\vtls)
rem %3 - Source filename
rem %4 - Output project file
rem
:element
set "SPACES= "
- if "%2" == "lib\vtls" (
+ if "%2" == "lib\vauth" (
+ set "TABS= "
+ ) else if "%2" == "lib\vtls" (
set "TABS= "
) else (
set "TABS= "