Commit c4cc15eb authored by Alexey.Golubev's avatar Alexey.Golubev

Skip building if project already built

parent c30be9db
......@@ -11,52 +11,50 @@ if defined ProgramFiles(x86) (
SET PATH=%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE;%PATH%
)
echo "building x86... -------------------------------------------"
if not exist "win_32" (
echo "building x86... -------------------------------------------"
md win_32
md win_32\debug
md win_32\release
if exist "win_32" (
RMDIR "win_32" /S /Q
)
md win_32
md win_32\debug
md win_32\release
call python v8\build\gyp_v8
call .\change_projects.bat
call python v8\build\gyp_v8
call .\change_projects.bat
cd "%SCRIPTPATH%v8\tools\gyp"
cd "%SCRIPTPATH%v8\tools\gyp"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
cd "%SCRIPTPATH%"
cd "%SCRIPTPATH%"
XCOPY /Y "v8\build\Release\lib\*" "win_32\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_32\release\"
XCOPY /Y "v8\build\Release\lib\*" "win_32\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_32\release\"
XCOPY /Y "v8\build\Debug\lib\*" "win_32\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_32\debug\"
)
XCOPY /Y "v8\build\Debug\lib\*" "win_32\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_32\debug\"
if not exist "win_64" (
echo "building x64... -------------------------------------------"
echo "building x64... -------------------------------------------"
md win_64
md win_64\debug
md win_64\release
if exist "win_64" (
RMDIR "win_64" /S /Q
)
md win_64
md win_64\debug
md win_64\release
call python v8\build\gyp_v8 -Dtarget_arch=x64
call .\change_projects.bat
call python v8\build\gyp_v8 -Dtarget_arch=x64
call .\change_projects.bat
cd "%SCRIPTPATH%v8\tools\gyp"
cd "%SCRIPTPATH%v8\tools\gyp"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
cd "%SCRIPTPATH%"
cd "%SCRIPTPATH%"
XCOPY /Y "v8\build\Release\lib\*" "win_64\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_64\release\"
XCOPY /Y "v8\build\Release\lib\*" "win_64\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_64\release\"
XCOPY /Y "v8\build\Debug\lib\*" "win_64\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_64\debug\"
XCOPY /Y "v8\build\Debug\lib\*" "win_64\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_64\debug\"
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment