mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 03:40:05 +00:00
Setup scripts should be runnable from any directory
This commit is contained in:
parent
102650e936
commit
6667f46c53
7 changed files with 11 additions and 11 deletions
|
|
@ -1,26 +1,26 @@
|
|||
@set script_dir=%~dp0
|
||||
|
||||
:: Import common paths
|
||||
@call lib\common-paths.bat
|
||||
@call %script_dir%\common-paths.bat
|
||||
|
||||
:: Install Python packages
|
||||
pip install --upgrade -r "%script_dir%\..\..\requirements.txt"
|
||||
|
||||
@if defined build_type (
|
||||
:: Install Conan profile and packages
|
||||
call lib\setup-conan.bat
|
||||
call %script_dir%\setup-conan.bat
|
||||
) else (
|
||||
:: Install Conan profile and debug packages
|
||||
set build_type=Debug
|
||||
call lib\setup-conan.bat
|
||||
call %script_dir%\setup-conan.bat
|
||||
|
||||
:: Install Conan profile and release packages
|
||||
set build_type=Release
|
||||
call lib\setup-conan.bat
|
||||
call %script_dir%\setup-conan.bat
|
||||
|
||||
:: Unset build_type
|
||||
set build_type=
|
||||
)
|
||||
|
||||
:: Run CMake Configure
|
||||
@call lib\run-cmake-configure.bat
|
||||
@call %script_dir%\run-cmake-configure.bat
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
@if not "%~1"=="" set build_dir=%~1
|
||||
|
||||
:: Perform common setup
|
||||
@call lib\setup-common.bat
|
||||
@call %script_dir%\lib\setup-common.bat
|
||||
|
||||
@pause
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue