Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
3c9a91af
Commit
3c9a91af
authored
Jul 03, 2017
by
Alexey.Golubev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added scripts for fetching and building curl
parent
9f06f94c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
0 deletions
+52
-0
Common/3dParty/curl/build.bat
Common/3dParty/curl/build.bat
+39
-0
Common/3dParty/curl/fetch.bat
Common/3dParty/curl/fetch.bat
+6
-0
Common/3dParty/curl/fetch.sh
Common/3dParty/curl/fetch.sh
+7
-0
No files found.
Common/3dParty/curl/build.bat
0 → 100644
View file @
3c9a91af
SET
SCRIPTPATH
=
%~dp0
CD
/D
%~dp0
SET
PLATFORM
=
win_32
if
defined
ProgramFiles
(
x86
)
(
SET
PLATFORM
=
win_64
)
if
defined
TARGET
(
SET
PLATFORM
=
%TARGET%
)
if
"
%PLATFORM%
"
==
"win_32"
(
SET
MACHINE
=
x86
)
if
"
%PLATFORM%
"
==
"win_64"
(
SET
MACHINE
=
x64
)
SET
VC
=
"
%ProgramFiles%
\Microsoft Visual Studio 12.0\VC"
SET
VC64
=
"
%ProgramFiles
(x86)
%
\Microsoft Visual Studio 12.0\VC"
if
exist
%VC6
4
%
(
SET
VC
=
%VC6
4
%
)
call
%VC%
\vcvarsall.bat
%MACHINE%
cd
curl
call
buildconf
.bat
cd
winbuild
nmake
/f
Makefile
.vc
mode
=
static
ENABLE_WINSSL
=
yes
MACHINE
=
%MACHINE%
VC
=
12
if
not
exist
"
%SCRIPTPATH%%
PLATFORM
%
"
(
md
%SCRIPTPATH%%
PLATFORM
%
\build
xcopy
/Y /S
..\builds\libcurl
-vc
12
-
%MACHINE%
-release-static-ipv
6
-sspi-winssl
\lib\libcurl_a.lib
%SCRIPTPATH%%
PLATFORM
%
\build\
mv
%SCRIPTPATH%%
PLATFORM
%
\build\libcurl_a.lib
%SCRIPTPATH%%
PLATFORM
%
\build\curl.lib
)
cd
..\..
\ No newline at end of file
Common/3dParty/curl/fetch.bat
0 → 100644
View file @
3c9a91af
SET
CURL_FOLDER
=
curl
IF
NOT
EXIST
%CURL_FOLDER%
CALL
git
clone
https
://github.com/curl/curl.git
%CURL_FOLDER%
CD
%CURL_FOLDER%
CALL
git
fetch
CALL
git
checkout
curl
-
7
_54_1
CD
..
\ No newline at end of file
Common/3dParty/curl/fetch.sh
0 → 100644
View file @
3c9a91af
CURL_FOLDER
=
curl
if
[
!
-d
${
CURL_FOLDER
}
]
;
then
git clone https://github.com/curl/curl.git
${
CURL_FOLDER
}
cd
${
CURL_FOLDER
}
git fetch
git checkout curl-7_54_1
cd
..
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment