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% :install_ign_project ign-math gz11
8
9:: Set configuration variables
10@set build_type=Release
11@if not "%1"=="" set build_type=%1
12@echo Configuring for build type %build_type%
13
14:: Go to the directory that this configure.bat file exists in
15cd /d %~dp0
16
17:: Create a build directory and configure
18md build
19cd build
20cmake .. -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX="%WORKSPACE_INSTALL_DIR%" -DCMAKE_BUILD_TYPE="%build_type%" -DBUILD_TESTING:BOOL=False
21:: Note: We disable testing by default. If the intention is for the CI to build and test
22:: this project, then the CI script will turn it back on.
23
24:: If the caller wants to build and/or install, they should do so after calling this script
25