mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:40:05 +00:00
Add conan profiles to setup scripts
This commit is contained in:
parent
88807a05a1
commit
c74a56206c
4 changed files with 22 additions and 2 deletions
|
|
@ -2,13 +2,18 @@ call tools\setup-common.bat
|
|||
|
||||
set build_dir=build-debug
|
||||
set build_type=Debug
|
||||
set conan_profile=scwx-win64_msvc2022
|
||||
set qt_version=6.8.0
|
||||
set qt_arch=msvc2022_64
|
||||
|
||||
conan install tools/conan/profiles/%conan_profile% -tf profiles
|
||||
|
||||
mkdir %build_dir%
|
||||
cmake -B %build_dir% -S . ^
|
||||
-DCMAKE_BUILD_TYPE=%build_type% ^
|
||||
-DCMAKE_CONFIGURATION_TYPES=%build_type% ^
|
||||
-DCMAKE_PREFIX_PATH=C:/Qt/%qt_version%/%qt_arch% ^
|
||||
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=external/cmake-conan/conan_provider.cmake
|
||||
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=external/cmake-conan/conan_provider.cmake ^
|
||||
-DCONAN_HOST_PROFILE=${conan_profile} ^
|
||||
-DCONAN_BUILD_PROFILE=${conan_profile}
|
||||
pause
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue