bat and README.md

This commit is contained in:
2020-09-07 21:59:53 +03:00
parent 3000798425
commit e58529750c
13 changed files with 69 additions and 31 deletions

18
make_shstk.bat Normal file
View File

@@ -0,0 +1,18 @@
@echo off
set ARCH=%~1
if defined SDK_JOBS_COUNT (
set JOBS_COUNT=%SDK_JOBS_COUNT%
) else (
set JOBS_COUNT=4
)
set PATH=%SDK_MINGW_DIR%%ARCH%\bin;%SDK_QT4_DIR%%ARCH%\bin;%SDK_CMAKE_DIR%\bin
if defined SDK_QT5_DIR set Qt5_DIR=%SDK_QT5_DIR%%ARCH%
cd cmake && ^
call install.bat && ^
cd .. && ^
if not exist ..\shstk_build_win%ARCH% mkdir ..\shstk_build_win%ARCH% && ^
cd ..\shstk_build_win%ARCH% && ^
cmake_mgw -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk && ^
make install -j%JOBS_COUNT% && ^
cd ..\shstk && ^
pause