Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
925c11b5
Commit
925c11b5
authored
10 years ago
by
Steve Holme
Browse files
Options
Downloads
Patches
Plain Diff
build: Added VC11 support to the project file generator
parent
c64370dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/generate.bat
+28
-22
28 additions, 22 deletions
projects/generate.bat
with
28 additions
and
22 deletions
projects/generate.bat
+
28
−
22
View file @
925c11b5
...
...
@@ -22,40 +22,45 @@ rem *
rem ***************************************************************************
setlocal
ENABLEDELAYEDEXPANSION
rem
Generat
e
VC8 project files
call
:generate
vc
8
Windows
\VC8\src\curlsrc.tmpl
Windows
\VC8\src\curlsrc.vcproj
call
:generate
vc
8
Windows
\VC8\lib\libcurl.tmpl
Windows
\VC8\lib\libcurl.vcproj
echo
Generat
ing
VC8
project
files
call
:generate
vc
proj
Windows
\VC8\src\curlsrc.tmpl
Windows
\VC8\src\curlsrc.vcproj
call
:generate
vc
proj
Windows
\VC8\lib\libcurl.tmpl
Windows
\VC8\lib\libcurl.vcproj
rem Generate VC9 project files
call
:generate
vc9
Windows
\VC9\src\curlsrc.tmpl
Windows
\VC9\src\curlsrc.vcproj
call
:generate
vc9
Windows
\VC9\lib\libcurl.tmpl
Windows
\VC9\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
rem Generate VC10 project files
call
:generate
vc10
Windows
\VC10\src\curlsrc.tmpl
Windows
\VC10\src\curlsrc.vcxproj
call
:generate
vc10
Windows
\VC10\lib\libcurl.tmpl
Windows
\VC10\lib\libcurl.vcxproj
echo
.
echo
Generating
VC10
project
files
call
:generate
vcxproj
Windows
\VC10\src\curlsrc.tmpl
Windows
\VC10\src\curlsrc.vcxproj
call
:generate
vcxproj
Windows
\VC10\lib\libcurl.tmpl
Windows
\VC10\lib\libcurl.vcxproj
echo
.
echo
Generating
VC11
project
files
call
:generate
vcxproj
Windows
\VC11\src\curlsrc.tmpl
Windows
\VC11\src\curlsrc.vcxproj
call
:generate
vcxproj
Windows
\VC11\lib\libcurl.tmpl
Windows
\VC11\lib\libcurl.vcxproj
goto
exit
rem Main generate function.
rem
rem %1 -
IDE
rem %1 -
Project Type (dsp, vcproj or vcxproj)
rem %2 - Input template file
rem %3 - Output project file
rem
:generate
echo
.
if
not
exist
%
2
(
echo
.
echo
Error
:
Cannot
open
%CD%
\
%
2
exit
/B
)
if
exist
%
3
(
echo
Deleting
%
3
del
%
3
)
echo
Generating
%
3
echo
*
%CD%
\
%
3
for
/f
"delims="
%%i
in
(
%
2
)
do
(
if
"
%%i
"
==
"CURL_SRC_C_FILES"
(
for
/f
%%c
in
(
'dir /b ..\src\*.c'
)
do
call
:element
%
1
src
%%c
%
3
...
...
@@ -81,8 +86,8 @@ rem
rem Generates a single file xml element.
rem
rem %1 -
IDE
rem %2 - Directory (
eg
src, lib or lib\vtls)
rem %1 -
Project Type (dsp, vcproj or vcxproj)
rem %2 - Directory (src, lib or lib\vtls)
rem %3 - Source filename
rem %4 - Output project file
rem
...
...
@@ -96,7 +101,12 @@ rem
call
:extension
%
3
ext
if
"
%
1"
==
"vc10"
(
if
"
%
1"
==
"vcproj"
(
echo
%TABS%
^<
File
>>
%
4
echo
%TABS%
RelativePath
=
"..\..\..\..\
%
2\
%
3"
>>
%
4
echo
%TABS%
^>
>>
%
4
echo
%TABS%
^<
/File
^>
>>
%
4
)
else
if
"
%
1"
==
"vcxproj"
(
if
"
%ext%
"
==
"c"
(
echo
%SPACES%
^<
ClCompile
Include
=
^"
..\..\..\..\
%
2
\
%
3
^"
/
^>
>>
%
4
)
else
if
"
%ext%
"
==
"h"
(
...
...
@@ -104,11 +114,6 @@ rem
)
else
if
"
%ext%
"
==
"rc"
(
echo
%SPACES%
^<
ResourceCompile
Include
=
^"
..\..\..\..\
%
2
\
%
3
^"
/
^>
>>
%
4
)
)
else
(
echo
%TABS%
^<
File
>>
%
4
echo
%TABS%
RelativePath
=
"..\..\..\..\
%
2\
%
3"
>>
%
4
echo
%TABS%
^>
>>
%
4
echo
%TABS%
^<
/File
^>
>>
%
4
)
exit
/B
...
...
@@ -138,4 +143,5 @@ rem
:exit
echo
.
endlocal
pause
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment