mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 03:50:05 +00:00
Add new utility setup scripts
This commit is contained in:
parent
9c486d5018
commit
102650e936
26 changed files with 281 additions and 143 deletions
22
tools/configure-environment.bat
Normal file
22
tools/configure-environment.bat
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
@setlocal enabledelayedexpansion
|
||||
|
||||
@set script_dir=%~dp0
|
||||
|
||||
:: Install Python packages
|
||||
@pip install --upgrade -r "%script_dir%\..\requirements.txt"
|
||||
|
||||
:: Configure default Conan profile
|
||||
@conan profile detect -e
|
||||
|
||||
:: Conan profiles
|
||||
@set profile_count=1
|
||||
@set /a last_profile=profile_count - 1
|
||||
@set conan_profile[0]=scwx-win64_msvc2022
|
||||
|
||||
:: Install Conan profiles
|
||||
@for /L %%i in (0,1,!last_profile!) do @(
|
||||
set "profile_name=!conan_profile[%%i]!"
|
||||
conan config install "%script_dir%\conan\profiles\%profile_name%" -tf profiles
|
||||
)
|
||||
|
||||
@pause
|
||||
Loading…
Add table
Add a link
Reference in a new issue