Setup script fixes

This commit is contained in:
Dan Paulat 2024-11-30 01:27:57 -06:00
parent 6e13ed2c85
commit d6a0a17d3f
7 changed files with 49 additions and 15 deletions

View file

@ -1,11 +1,21 @@
call tools\setup-common.bat
set build_dir=build-debug
set build_type=Debug
set qt_version=6.7.1
set build_dir=build
set conan_profile=scwx-win64_msvc2022
set qt_version=6.8.0
set qt_arch=msvc2022_64
conan config install tools/conan/profiles/%conan_profile% -tf profiles
conan install . ^
--remote conancenter ^
--build missing ^
--profile:all %conan_profile% ^
--output-folder %build_dir%/conan
mkdir %build_dir%
cmake -B %build_dir% -S . ^
-DCMAKE_PREFIX_PATH=C:/Qt/%qt_version%/msvc2019_64 ^
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=external/cmake-conan/conan_provider.cmake
-DCMAKE_PREFIX_PATH=C:/Qt/%qt_version%/%qt_arch% ^
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=external/cmake-conan/conan_provider.cmake ^
-DCONAN_HOST_PROFILE=%conan_profile% ^
-DCONAN_BUILD_PROFILE=%conan_profile%
pause