Pass the current cmake generator to the native-tools build
[openal-soft.git] / appveyor.yml
blobc6c9ee8855f6a9d4e139ba64c3b87dd88818f399
1 version: 1.18.1.{build}
3 environment:
4     matrix:
5       - GEN: "Visual Studio 14 2015"
6         CFG: Release
7       - GEN: "Visual Studio 14 2015 Win64"
8         CFG: Release
10 install:
11     # Remove the VS Xamarin targets to reduce AppVeyor specific noise in build
12     # logs.  See also http://help.appveyor.com/discussions/problems/4569
13     - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
15 build_script:
16     - cd build
17     - cmake -G"%GEN%" -DALSOFT_REQUIRE_WINMM=ON -DALSOFT_REQUIRE_DSOUND=ON -DALSOFT_REQUIRE_MMDEVAPI=ON -DALSOFT_EMBED_HRTF_DATA=YES ..
18     - cmake --build . --config %CFG% --clean-first