version: 1.0.{build}
image: Visual Studio 2017
configuration:
- Release
clone_folder: C:/openchemistry/avogadrolibs
init:
- cmd:
environment:
  PATH: '%PATH%;%QTDIR%\bin'
  matrix:
  - CMAKE_GENERATOR: '"Visual Studio 15 2017 Win64"'
    QTDIR: C:\Qt\5.6\msvc2015_64
    platform: x64
build_script:
- cmd: >-
    cd ..

    git init .

    git remote add origin git://github.com/OpenChemistry/openchemistry.git

    git pull origin master

    git -c submodule.avogadrolibs.update=none submodule update --init

    cd ../

    mkdir openchemistry-build

    cd openchemistry-build

    cmake -G %CMAKE_GENERATOR% ../openchemistry

    cmake --build . --target avogadrolibs --config Release -- /verbosity:detailed

version: 1.0.{build}
image: Visual Studio 2017
configuration:
- Release
clone_folder: C:/openchemistry/avogadrolibs
init:
- cmd:
environment:
  PATH: '%PATH%;%QTDIR%\bin'
  matrix:
  - CMAKE_GENERATOR: '"Ninja"'
    QTDIR: C:\Qt\5.6\msvc2015_64
    platform: x64
build_script:
- cmd: >-
    cd ..

    git init .

    git remote add origin git://github.com/OpenChemistry/openchemistry.git

    git pull origin master

    git -c submodule.avogadrolibs.update=none submodule update --init

    cd ../

    mkdir openchemistry-build

    cd openchemistry-build

    choco install ninja

    call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64

    cmake -G %CMAKE_GENERATOR% ../openchemistry

    cmake --build . --target avogadrolibs --config Release

Use ninja for the build
AppVeyor: Use ninja for the build

Ninja seems to be much faster for the build than the
previous build system, partially because it uses all
of the cores on AppVeyor.

Ninja is installed with chocolatey, and the Visual Studio 2017
environment variables are set with the `vcvarsall.bat` script.

Verbosity detail was also turned off. This may have caused a
significant speed increase as well.

Signed-off-by: Patrick Avery <9998cd7370de5e06514e1c73829a1fbd24ae8b10@buffalo.edu>
