| @@ -5,43 +5,100 @@ image: | |||||
| # aka os: Windows Server 2012 R2 | # aka os: Windows Server 2012 R2 | ||||
| - Visual Studio 2015 | - Visual Studio 2015 | ||||
| # aka os: Windows Server 2016 | # aka os: Windows Server 2016 | ||||
| # b_toolset: v141 | |||||
| - Visual Studio 2017 | - Visual Studio 2017 | ||||
| # aka os: Windows Server 2019 | # aka os: Windows Server 2019 | ||||
| # b_toolset: v142 | |||||
| - Visual Studio 2019 | - Visual Studio 2019 | ||||
| # b_toolset: v143 | |||||
| - Visual Studio 2022 | |||||
| platform: x64 | platform: x64 | ||||
| for: | |||||
| - | |||||
| environment: | |||||
| matrix: | matrix: | ||||
| only: | |||||
| - image: Visual Studio 2015 | |||||
| - b_toolset: Windows7.1SDK | |||||
| environment: | |||||
| matrix: | |||||
| - b_toolset: Windows7.1SDK | |||||
| b_config: Debug | |||||
| - b_toolset: v120 | |||||
| - b_toolset: v120 | |||||
| b_config: Debug | |||||
| - b_toolset: v140 | |||||
| - b_toolset: v140 | |||||
| b_config: Debug | |||||
| - b_toolset: v141 | |||||
| build_script: | |||||
| - cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install . | |||||
| - cmake --build . --target install | |||||
| - b_toolset: v142 | |||||
| environment: | |||||
| matrix: | |||||
| - b_config: Debug | |||||
| - b_toolset: v143 | |||||
| - b_config: Release | |||||
| configuration: | |||||
| - Debug | |||||
| - Release | |||||
| build_script: | build_script: | ||||
| - cmake -DCMAKE_BUILD_TYPE=%b_config% -DCMAKE_INSTALL_PREFIX=t_install . | |||||
| - cmake -T %b_toolset% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_INSTALL_PREFIX=t_install . | |||||
| - cmake --build . --target install | - cmake --build . --target install | ||||
| matrix: | |||||
| exclude: | |||||
| - image: Visual Studio 2015 | |||||
| b_toolset: v141 | |||||
| - image: Visual Studio 2015 | |||||
| b_toolset: v142 | |||||
| - image: Visual Studio 2015 | |||||
| b_toolset: v143 | |||||
| # ---- | |||||
| - image: Visual Studio 2017 | |||||
| b_toolset: Windows7.1SDK | |||||
| - image: Visual Studio 2017 | |||||
| b_toolset: v120 | |||||
| - image: Visual Studio 2017 | |||||
| b_toolset: v140 | |||||
| - image: Visual Studio 2017 | |||||
| b_toolset: v142 | |||||
| - image: Visual Studio 2017 | |||||
| b_toolset: v143 | |||||
| # ---- | |||||
| - image: Visual Studio 2019 | |||||
| b_toolset: Windows7.1SDK | |||||
| - image: Visual Studio 2019 | |||||
| b_toolset: v120 | |||||
| - image: Visual Studio 2019 | |||||
| b_toolset: v140 | |||||
| - image: Visual Studio 2019 | |||||
| b_toolset: v141 | |||||
| - image: Visual Studio 2019 | |||||
| b_toolset: v143 | |||||
| # ---- | |||||
| - image: Visual Studio 2022 | |||||
| b_toolset: Windows7.1SDK | |||||
| - image: Visual Studio 2022 | |||||
| b_toolset: v120 | |||||
| - image: Visual Studio 2022 | |||||
| b_toolset: v140 | |||||
| - image: Visual Studio 2022 | |||||
| b_toolset: v141 | |||||
| - image: Visual Studio 2022 | |||||
| b_toolset: v142 | |||||
| after_build: | after_build: | ||||
| - cd t_install | - cd t_install | ||||
| - 7z a ../json-c.win32.%b_toolset%.%b_config%.zip * | - 7z a ../json-c.win32.%b_toolset%.%b_config%.zip * | ||||