diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-04-27 18:21:47 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-04-29 22:30:21 +0100 |
commit | 637438f2599331d127e0dec0a041fc7712900a8d (patch) | |
tree | b9fe6c91521c00f4771a147b59da3602d17abf35 /projects | |
parent | 6cdd88f22cfb32b33c659ce0e4592cfd5e0d1571 (diff) |
build: Added VC7 and VC7.1 support to the project file generator
Note: VC7.1 templates are currently not available.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/generate.bat | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/projects/generate.bat b/projects/generate.bat index 182666193..dfbc3fc9c 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -26,14 +26,24 @@ call :generate dsp Windows\VC6\src\curlsrc.tmpl Windows\VC6\src\curlsrc.dsp call :generate dsp Windows\VC6\lib\libcurl.tmpl Windows\VC6\lib\libcurl.dsp echo. +echo Generating VC7 project files +call :generate vcproj1 Windows\VC7\src\curlsrc.tmpl Windows\VC7\src\curlsrc.vcproj +call :generate vcproj1 Windows\VC7\lib\libcurl.tmpl Windows\VC7\lib\libcurl.vcproj + +echo. +echo Generating VC7.1 project files +call :generate vcproj1 Windows\VC7.1\src\curlsrc.tmpl Windows\VC7.1\src\curlsrc.vcproj +call :generate vcproj1 Windows\VC7.1\lib\libcurl.tmpl Windows\VC7.1\lib\libcurl.vcproj + +echo. echo Generating VC8 project files -call :generate vcproj Windows\VC8\src\curlsrc.tmpl Windows\VC8\src\curlsrc.vcproj -call :generate vcproj Windows\VC8\lib\libcurl.tmpl Windows\VC8\lib\libcurl.vcproj +call :generate vcproj2 Windows\VC8\src\curlsrc.tmpl Windows\VC8\src\curlsrc.vcproj +call :generate vcproj2 Windows\VC8\lib\libcurl.tmpl Windows\VC8\lib\libcurl.vcproj echo. echo Generating VC9 project files -call :generate vcproj Windows\VC9\src\curlsrc.tmpl Windows\VC9\src\curlsrc.vcproj -call :generate vcproj Windows\VC9\lib\libcurl.tmpl Windows\VC9\lib\libcurl.vcproj +call :generate vcproj2 Windows\VC9\src\curlsrc.tmpl Windows\VC9\src\curlsrc.vcproj +call :generate vcproj2 Windows\VC9\lib\libcurl.tmpl Windows\VC9\lib\libcurl.vcproj echo. echo Generating VC10 project files @@ -54,7 +64,8 @@ goto exit rem Main generate function. rem -rem %1 - Project Type (dsp, vcproj or vcxproj) +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 - Input template file rem %3 - Output project file rem @@ -101,7 +112,8 @@ rem rem Generates a single file xml element. rem -rem %1 - Project Type (dsp, vcproj or vcxproj) +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 %3 - Source filename rem %4 - Output project file @@ -119,7 +131,11 @@ rem echo.>> %4 echo SOURCE=..\..\..\..\%2\%3>> %4 echo # End Source File>> %4 - ) else if "%1" == "vcproj" ( + ) else if "%1" == "vcproj1" ( + echo %TABS%^<File>> %4 + echo %TABS% RelativePath="..\..\..\..\%2\%3"^>>> %4 + echo %TABS%^</File^>>> %4 + ) else if "%1" == "vcproj2" ( echo %TABS%^<File>> %4 echo %TABS% RelativePath="..\..\..\..\%2\%3">> %4 echo %TABS%^>>> %4 |