Commit 93b2d9a4 authored by Alexey.Golubev's avatar Alexey.Golubev

Skip build boost if it already built

parent c4cc15eb
...@@ -14,52 +14,52 @@ if exist "stage" ( ...@@ -14,52 +14,52 @@ if exist "stage" (
md build md build
SET folder=build/win_32 SET folder=build/win_32
echo "x86..."
if exist "%folder%" ( if not exist "%folder%" (
RMDIR "%folder%" /S /Q echo "x86..."
md %folder%
md %folder%\static
md %folder%\static_fpic
md %folder%\shared
.\b2.exe --clean
.\bjam.exe link=static --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\static\"
.\b2.exe --clean
.\bjam.exe link=static cxxflags=-fPIC --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\static_fpic\"
.\b2.exe --clean
.\bjam.exe link=shared --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\shared\"
) )
md %folder%
md %folder%\static
md %folder%\static_fpic
md %folder%\shared
.\b2.exe --clean
.\bjam.exe link=static --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\static\"
.\b2.exe --clean
.\bjam.exe link=static cxxflags=-fPIC --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\static_fpic\"
.\b2.exe --clean
.\bjam.exe link=shared --with-filesystem --with-system --with-date_time --with-regex
XCOPY /Y stage\lib\* "%folder%\shared\"
SET folder=build/win_64 SET folder=build/win_64
echo "x64..."
if exist "%folder%" (
RMDIR "%folder%" /S /Q
)
if exist "stage" ( if not exist "%folder%" (
RMDIR "stage" /S /Q echo "x64..."
)
if exist "stage" (
RMDIR "stage" /S /Q
)
md %folder% md %folder%
md %folder%\static md %folder%\static
md %folder%\static_fpic md %folder%\static_fpic
md %folder%\shared md %folder%\shared
.\b2.exe --clean .\b2.exe --clean
.\bjam.exe link=static --with-filesystem --with-system --with-date_time --with-regex address-model=64 .\bjam.exe link=static --with-filesystem --with-system --with-date_time --with-regex address-model=64
XCOPY /Y stage\lib\* "%folder%\static\" XCOPY /Y stage\lib\* "%folder%\static\"
.\b2.exe --clean .\b2.exe --clean
.\bjam.exe link=static cxxflags=-fPIC --with-filesystem --with-system --with-date_time --with-regex address-model=64 .\bjam.exe link=static cxxflags=-fPIC --with-filesystem --with-system --with-date_time --with-regex address-model=64
XCOPY /Y stage\lib\* "%folder%\static_fpic\" XCOPY /Y stage\lib\* "%folder%\static_fpic\"
.\b2.exe --clean .\b2.exe --clean
.\bjam.exe link=shared --with-filesystem --with-system --with-date_time --with-regex address-model=64 .\bjam.exe link=shared --with-filesystem --with-system --with-date_time --with-regex address-model=64
XCOPY /Y stage\lib\* "%folder%\shared\" XCOPY /Y stage\lib\* "%folder%\shared\"
)
\ No newline at end of file
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