mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 21:00:06 +00:00
26 lines
563 B
Batchfile
26 lines
563 B
Batchfile
@set script_dir=%~dp0
|
|
|
|
@set build_dir=%script_dir%\..\build-debug-ninja
|
|
@set build_type=Debug
|
|
@set conan_profile=scwx-windows_msvc2022_x64
|
|
@set generator=Ninja
|
|
@set qt_base=C:/Qt
|
|
@set qt_arch=msvc2022_64
|
|
@set venv_path=%script_dir%\..\.venv
|
|
|
|
:: Assign user-specified build directory
|
|
@if not "%~1"=="" set build_dir=%~f1
|
|
|
|
:: Assign user-specified Python Virtual Environment
|
|
@if not "%~2"=="" (
|
|
if /i "%~2"=="none" (
|
|
set venv_path=
|
|
) else (
|
|
set venv_path=%~f2
|
|
)
|
|
)
|
|
|
|
:: Perform common setup
|
|
@call %script_dir%\lib\setup-common.bat
|
|
|
|
@pause
|