1 2:: NOTE: This script is only meant to be used as part of the ignition developers' CI system 3:: Users and developers should build and install this library using cmake and Visual Studio 4 5 6:: Install dependencies 7call %win_lib% :download_unzip_install curl-7.57.0-vc15-x64-dll-MD.zip 8call %win_lib% :download_unzip_install jsoncpp-1.8.4-vc15-x64-dll-MD.zip 9call %win_lib% :download_unzip_install libyaml-0.1.7-vc15-x64-md.zip 10call %win_lib% :download_unzip_install libzip-1.4.0_zlip-1.2.11_vc15-x64-dll-MD.zip 11call %win_lib% :install_ign_project ign-common ign-common1 12 13:: Set configuration variables 14@set build_type=Release 15@if not "%1"=="" set build_type=%1 16@echo Configuring for build type %build_type% 17 18:: Go to the directory that this configure.bat file exists in 19cd /d %~dp0 20 21:: Create a build directory and configure 22md build 23cd build 24cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX="%WORKSPACE_INSTALL_DIR%" -DCMAKE_BUILD_TYPE="%build_type%" -DBUILD_TESTING:BOOL=False 25:: Note: We disable testing by default. If the intention is for the CI to build and test 26:: this project, then the CI script will turn it back on. 27 28:: If the caller wants to build and/or install, they should do so after calling this script 29