summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-07-26 20:59:16 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-07-28 22:55:49 +0100
commit9b95306d4c2bedc1324aaf82d7044fc6bb8d1f68 (patch)
tree96114c7ed77aaa264e31432c3d8b2c257eddf94e /projects
parent98e8b050ef5c5627176cb0223df756ec50301710 (diff)
downloadcurl-9b95306d4c2bedc1324aaf82d7044fc6bb8d1f68.tar.gz
build: Added initial VC14 support to generate.bat
Visual Studio project files and updates to makefile.am to follow.
Diffstat (limited to 'projects')
-rw-r--r--projects/generate.bat23
1 files changed, 21 insertions, 2 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index 35e190efe..b89c2d4dd 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -79,6 +79,8 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
set VERSION=VC11
) else if /i "%~1" == "vc12" (
set VERSION=VC12
+ ) else if /i "%~1" == "vc14" (
+ set VERSION=VC14
) else if /i "%~1" == "-clean" (
set MODE=CLEAN
) else (
@@ -108,6 +110,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
if "%VERSION%" == "VC10" goto vc10
if "%VERSION%" == "VC11" goto vc11
if "%VERSION%" == "VC12" goto vc12
+ if "%VERSION%" == "VC14" goto vc14
:vc6
echo.
@@ -227,12 +230,27 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
call :clean Windows\VC12\lib\libcurl.vcxproj
)
+ if not "%VERSION%" == "ALL" goto success
+
+:vc14
+ echo.
+
+ if "%MODE%" == "GENERATE" (
+ echo Generating VC14 project files
+ call :generate vcxproj Windows\VC14\src\curl.tmpl Windows\VC14\src\curl.vcxproj
+ call :generate vcxproj Windows\VC14\lib\libcurl.tmpl Windows\VC14\lib\libcurl.vcxproj
+ ) else (
+ echo Removing VC14 project files
+ call :clean Windows\VC14\src\curl.vcxproj
+ call :clean Windows\VC14\lib\libcurl.vcxproj
+ )
+
goto success
rem Main generate function.
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 or vcxproj for VC10, VC11, VC12 and VC14)
rem %2 - Input template file
rem %3 - Output project file
rem
@@ -296,7 +314,7 @@ rem
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 or vcxproj for VC10, VC11, VC12 and VC14)
rem %2 - Directory (src, lib, lib\vauth or lib\vtls)
rem %3 - Source filename
rem %4 - Output project file
@@ -450,6 +468,7 @@ rem Returns exit code 0 on success or 1 on failure.
echo vc10 - Use Visual Studio 2010
echo vc11 - Use Visual Studio 2012
echo vc12 - Use Visual Studio 2013
+ echo vc14 - Use Visual Studio 2015
echo.
echo -clean - Removes the project files
goto error