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
8c31f0e6
Commit
8c31f0e6
authored
Jul 15, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boost fetch & build
parent
fb8b7d9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
17 deletions
+32
-17
Common/3dParty/boost/build.bat
Common/3dParty/boost/build.bat
+18
-14
Common/3dParty/boost/build.sh
Common/3dParty/boost/build.sh
+5
-0
Common/3dParty/boost/fetch.bat
Common/3dParty/boost/fetch.bat
+9
-3
No files found.
Common/3dParty/boost/build.bat
View file @
8c31f0e6
...
@@ -6,32 +6,36 @@ if defined ProgramFiles(x86) (
...
@@ -6,32 +6,36 @@ if defined ProgramFiles(x86) (
SET
platform
=
win_64
SET
platform
=
win_64
)
)
outputdir
=
"
%SCRIPTPATH%
/boost_1_58_0/build/
%platform%
"
SET
outputdir
=
%SCRIPTPATH%
boost_1_58_0
\build\
%platform%
echo
"
%outputdir%
"
echo
"
%outputdir%
"
CD
"
%SCRIPTPATH%
/
boost_1_58_0"
CD
"
%SCRIPTPATH%
\
boost_1_58_0"
call
.\bootstrap.bat
-
-with-libraries
=
filesystem
,
system
call
.\bootstrap.bat
SET
folder
=
build
/
%platform%
SET
folder
=
build
/
%platform%
if
exist
"
%folder%
"
(
if
exist
"
%folder%
"
(
RMDIR
"
%folder%
"
/S /Q
RMDIR
"
%folder%
"
/S /Q
)
)
mkdir
build
if
exist
"stage"
(
mkdir
%folder%
RMDIR
"stage"
/S /Q
mkdir
%folder%
/static
)
mkdir
%folder%
/static
_fpic
mkdir
%folder%
/shared
md
build
md
%folder%
md
%folder%
\static
md
%folder%
\static_fpic
md
%folder%
\shared
.\b2
-
-clean
.\b2
.exe
-
-clean
.\bjam
link
=
static
.\bjam
.exe
link
=
static
-
-with-filesystem
-
-with-system
XCOPY
stage
\lib\
*
"
%folder%
\static\"
XCOPY
stage
\lib\
*
"
%folder%
\static\"
.\b2
-
-clean
.\b2
.exe
-
-clean
.\bjam
link
=
static
cxxflags
=
-fPIC
.\bjam
.exe
link
=
static
cxxflags
=
-fPIC
-
-with-filesystem
-
-with-system
XCOPY
stage
\lib\
*
"
%folder%
\static_fpic\"
XCOPY
stage
\lib\
*
"
%folder%
\static_fpic\"
.\b2
-
-clean
.\b2
.exe
-
-clean
.\bjam
link
=
shared
.\bjam
.exe
link
=
shared
-
-with-filesystem
-
-with-system
XCOPY
stage
\lib\
*
"
%folder%
\shared\"
XCOPY
stage
\lib\
*
"
%folder%
\shared\"
Common/3dParty/boost/build.sh
View file @
8c31f0e6
...
@@ -31,6 +31,11 @@ if [ -d $folder ]; then
...
@@ -31,6 +31,11 @@ if [ -d $folder ]; then
rm
-R
$folder
rm
-R
$folder
fi
fi
stage
=
"stage"
if
[
-d
$stage
]
;
then
rm
-R
$stage
fi
mkdir
-p
"
$folder
"
mkdir
-p
"
$folder
"
mkdir
-p
"
$folder
/static"
mkdir
-p
"
$folder
/static"
mkdir
-p
"
$folder
/static_fpic"
mkdir
-p
"
$folder
/static_fpic"
...
...
Common/3dParty/boost/fetch.bat
View file @
8c31f0e6
SET
SCRIPTPATH
=
%~dp0
SET
SCRIPTPATH
=
%~dp0
CD
/D
%~dp0
CD
/D
%~dp0
if
exist
"
%SCRIPTPATH%
/
boost_1_58_0.7z"
(
if
exist
"
%SCRIPTPATH%
boost_1_58_0.7z"
(
echo
"boost already downloaded"
echo
"boost already downloaded"
)
else
(
)
else
(
Powershell
.exe
Invoke
-WebRequest -OutFile
boost_1_58_0
.7z
http
://freefr.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z
Powershell
.exe
Invoke
-WebRequest -OutFile
boost_1_58_0
.7z
http
://freefr.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z
)
)
if
exist
"
%SCRIPTPATH%
/boost_1_58_0/"
(
SET
UNSIP_PROGRAMM
=
"C:\Program Files\7-Zip\7z.exe"
SET
UNSIP_PROGRAMM2
=
"C:\Program Files (x86)\7-Zip\7z.exe"
if
exist
%UNSIP
_PROGRAMM2
%
(
SET
UNSIP_PROGRAMM
=
%UNSIP
_PROGRAMM2
%
)
if
exist
"
%SCRIPTPATH%
boost_1_58_0/"
(
echo
"boost already extracted"
echo
"boost already extracted"
)
else
(
)
else
(
call
"C:\Program Files\7-Zip\7z.exe"
x
"
%SCRIPTPATH%
/boost_1_58_0.7z"
-o
"
%SCRIPTPATH%
/"
call
%UNSIP_PROGRAMM%
x
"
%SCRIPTPATH%
/boost_1_58_0.7z"
-o
"
%SCRIPTPATH%
/"
)
)
pause
pause
\ 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