@echo off setlocal REM Check if the correct number of arguments is provided if "%~1"=="" ( echo Usage: %0 "[force|missing]" exit /b 1 ) REM Set the build option based on the argument set build_option= if "%~1"=="force" ( set build_option=--build="*" ) else if "%~1"=="missing" ( set build_option=--build=missing ) else ( echo Invalid argument: %~1 echo Usage: %0 "[force|missing]" exit /b 1 ) REM Add the remote conan remote add bigfootpackages https://conan.romainboullard.com/artifactory/api/conan/bigfootpackages REM Install the conan configuration conan config install https://git.romainboullard.com/BigfootDev/ConanProfiles.git REM Install dependencies with the specified build option conan install . --deployer=full_deploy --remote=bigfootpackages -pr:h=msvc -pr:b=msvc %build_option% -of build -s build_type=Release -o bigfoot/*:unity_build=False -o bigfoot/*:build_tests=True -o bigfoot/*:sample_app=True -o bigfoot/*:tracy=True -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:build_benchmarks_lto=True -o bigfoot/*:render_doc=True conan install . --deployer=full_deploy --remote=bigfootpackages -pr:h=msvc -pr:b=msvc %build_option% -of build -s build_type=RelWithDebInfo -o bigfoot/*:unity_build=False -o bigfoot/*:build_tests=True -o bigfoot/*:sample_app=True -o bigfoot/*:tracy=True -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:build_benchmarks_lto=True -o bigfoot/*:render_doc=True conan install . --deployer=full_deploy --remote=bigfootpackages -pr:h=msvc -pr:b=msvc %build_option% -of build -s build_type=Debug -o bigfoot/*:unity_build=False -o bigfoot/*:build_tests=True -o bigfoot/*:sample_app=True -o bigfoot/*:tracy=True -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:build_benchmarks_lto=True -o bigfoot/*:render_doc=True endlocal