mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:00: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
19
tools/lib/run-cmake-configure.bat
Normal file
19
tools/lib/run-cmake-configure.bat
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
@echo off
|
||||
set script_dir=%~dp0
|
||||
|
||||
set cmake_args=-B "%build_dir%" -S "%script_dir%\..\.." ^
|
||||
-G "%generator%" ^
|
||||
-DCMAKE_PREFIX_PATH="%qt_base%/%qt_version%/%qt_arch%" ^
|
||||
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="%script_dir%\..\..\external\cmake-conan\conan_provider.cmake" ^
|
||||
-DCONAN_HOST_PROFILE=%conan_profile% ^
|
||||
-DCONAN_BUILD_PROFILE=%conan_profile%
|
||||
|
||||
if defined build_type (
|
||||
set cmake_args=%cmake_args% ^
|
||||
-DCMAKE_BUILD_TYPE=%build_type% ^
|
||||
-DCMAKE_CONFIGURATION_TYPES=%build_type%
|
||||
)
|
||||
@echo on
|
||||
|
||||
mkdir "%build_dir%"
|
||||
cmake %cmake_args%
|
||||
Loading…
Add table
Add a link
Reference in a new issue