shallow_clone: true

os:
  - Visual Studio 2017

environment:
  matrix:
  - TOOLSET: vs2015
  - TOOLSET: vs2017

configuration:
  - Debug
  - Release

install:
  - git clone --depth 1 https://github.com/bkaradzic/bx ..\bx
  - git clone --depth 1 https://github.com/bkaradzic/bimg ..\bimg
  - ..\bx\tools\bin\windows\genie --with-tools --with-examples %TOOLSET%

build:
  project: .build/projects/$(TOOLSET)/bgfx.sln