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
e240ec83
Commit
e240ec83
authored
Jul 19, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows build v8.
parent
40e08d2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
12 deletions
+63
-12
Common/3dParty/v8/build.bat
Common/3dParty/v8/build.bat
+29
-12
Common/3dParty/v8/change_projects.bat
Common/3dParty/v8/change_projects.bat
+34
-0
No files found.
Common/3dParty/v8/build.bat
View file @
e240ec83
...
@@ -6,30 +6,47 @@ SET DEPOT_TOOLS_WIN_TOOLCHAIN=0
...
@@ -6,30 +6,47 @@ SET DEPOT_TOOLS_WIN_TOOLCHAIN=0
SET
GYP_MSVS_VERSION
=
2013
SET
GYP_MSVS_VERSION
=
2013
echo
"building x86... -------------------------------------------"
echo
"building x86... -------------------------------------------"
call
python
v8
\build\gyp_v8
-Dcomponent
=
shared_library
cd
"
%SCRIPTPATH%
v8\tools\gyp"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Release"
cd
"
%SCRIPTPATH%
"
if
exist
"win_32"
(
if
exist
"win_32"
(
RMDIR
"win_32"
/S /Q
RMDIR
"win_32"
/S /Q
)
)
md
win_32
md
win_32
XCOPY
"v8\build\Release\lib\*"
"win_32\"
md
win_32
\debug
XCOPY
"v8\build\Release\icudt.dll"
"win_32\icudt.dll"
md
win_32
\release
echo
"building x64... -------------------------------------------"
call
python
v8
\build\gyp_v8
call
.\change_projects.bat
call
python
v8
\build\gyp_v8
-Dtarget
_arch
=
x64
-Dcomponent
=
shared_library
cd
"
%SCRIPTPATH%
v8\tools\gyp"
cd
"
%SCRIPTPATH%
v8\tools\gyp"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Release"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Release"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Debug"
cd
"
%SCRIPTPATH%
"
cd
"
%SCRIPTPATH%
"
XCOPY
"v8\build\Release\lib\*"
"win_32\release\"
XCOPY
"v8\build\Release\icudt.dll"
"win_32\release\"
XCOPY
"v8\build\Debug\lib\*"
"win_32\debug\"
XCOPY
"v8\build\Debug\icudt.dll"
"win_32\debug\"
echo
"building x64... -------------------------------------------"
if
exist
"win_64"
(
if
exist
"win_64"
(
RMDIR
"win_64"
/S /Q
RMDIR
"win_64"
/S /Q
)
)
md
win_64
md
win_64
XCOPY
"v8\build\Release\lib\*"
"win_64\"
md
win_64
\debug
XCOPY
"v8\build\Release\icudt.dll"
"win_64\icudt.dll"
md
win_64
\release
\ No newline at end of file
call
python
v8
\build\gyp_v8
-Dtarget
_arch
=
x64
call
.\change_projects.bat
cd
"
%SCRIPTPATH%
v8\tools\gyp"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Release"
call
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com"
v8
.sln
/Rebuild
"Debug"
cd
"
%SCRIPTPATH%
"
XCOPY
"v8\build\Release\lib\*"
"win_64\release\"
XCOPY
"v8\build\Release\icudt.dll"
"win_64\release\"
XCOPY
"v8\build\Debug\lib\*"
"win_64\debug\"
XCOPY
"v8\build\Debug\icudt.dll"
"win_64\debug\"
\ No newline at end of file
Common/3dParty/v8/change_projects.bat
0 → 100644
View file @
e240ec83
SET
SCRIPTPATH
=
%~dp0
CD
/D
%~dp0
cd
"
%SCRIPTPATH%
v8\tools\gyp"
call
powershell
-Command
"(gc v8_base_0.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_0.vcxproj"
call
powershell
-Command
"(gc v8_base_0.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_0.vcxproj"
call
powershell
-Command
"(gc v8_base_1.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_1.vcxproj"
call
powershell
-Command
"(gc v8_base_1.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_1.vcxproj"
call
powershell
-Command
"(gc v8_base_2.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_2.vcxproj"
call
powershell
-Command
"(gc v8_base_2.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_2.vcxproj"
call
powershell
-Command
"(gc v8_base_3.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_3.vcxproj"
call
powershell
-Command
"(gc v8_base_3.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_base_3.vcxproj"
call
powershell
-Command
"(gc v8_libbase.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_libbase.vcxproj"
call
powershell
-Command
"(gc v8_libbase.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_libbase.vcxproj"
call
powershell
-Command
"(gc v8_libplatform.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_libplatform.vcxproj"
call
powershell
-Command
"(gc v8_libplatform.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_libplatform.vcxproj"
call
powershell
-Command
"(gc v8_nosnapshot.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_nosnapshot.vcxproj"
call
powershell
-Command
"(gc v8_nosnapshot.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' v8_nosnapshot.vcxproj"
call
powershell
-Command
"(gc mksnapshot.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' mksnapshot.vcxproj"
call
powershell
-Command
"(gc mksnapshot.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' mksnapshot.vcxproj"
cd
"
%SCRIPTPATH%
v8\third_party\icu"
call
powershell
-Command
"(gc icui18n.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' icui18n.vcxproj"
call
powershell
-Command
"(gc icui18n.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' icui18n.vcxproj"
call
powershell
-Command
"(gc icuuc.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' icuuc.vcxproj"
call
powershell
-Command
"(gc icuuc.vcxproj) -replace '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>' | Out-File -Encoding 'UTF8' icuuc.vcxproj"
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