mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:00:04 +00:00
Update setup script naming convention
This commit is contained in:
parent
b89938b48a
commit
76c6ac2ccd
14 changed files with 91 additions and 1 deletions
25
tools/setup-windows-ninja-multi.bat
Normal file
25
tools/setup-windows-ninja-multi.bat
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
@set script_dir=%~dp0
|
||||
|
||||
@set build_dir=%script_dir%\..\build-ninja
|
||||
@set conan_profile=scwx-windows_msvc2022_x64
|
||||
@set generator=Ninja Multi-Config
|
||||
@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue