DirectXShaderCompiler/cmake/modules
David Peixotto 7a24bac9b5 Add support for AppVeyor continuous integration (#131)
This commit makes the necessary changes to run the project with AppVeyor
CI. The `appveyor.yml` file contains the configuration settings for the
build. Currently we only build x64-Debug, but we can build the full
x32/x64-Debug/Release matrix by adding a few lines to the config.

The remaining changes are somewhat tied to the specifics of how appveyor
provisions the build machines. The standard VS2015 machines build on
Windows Server 2012. We can build on these machines, but cannot run tests
because we require d3d12.dll which is not available on Windows Server
2012. However, it is present on Windows Server 2016, but appveyor only
provides VS2017 on those machines. So part of the changes are to allow
the compiler to build with VS2017 so we can run tests as part of CI.

The `appveyor_setup.ps1` script installs the WDK as part of the build.
This is the only extra software we need. It is actually installed on the
VS2015 build machines, but not our VS2017 build machines. Perhaps we can
get them to install it by default and then this script can go away.

The `appveyor_test.ps1` script runs the taef tests and then reports the
results to appveyor so they can be displayed on the "Tests" tab.

As a side effect of this work, We can now use the latest cmake (3.7.2) for
our own builds! The key seems to be setting
`-DCMAKE_SYSTEM_VERSION=10.0.14393.0` to ensure that we pick up the
correct SDK.
2017-03-13 16:21:15 -07:00
..
AddLLVM.cmake first commit 2016-12-28 11:52:27 -08:00
AddLLVMDefinitions.cmake first commit 2016-12-28 11:52:27 -08:00
AddOCaml.cmake first commit 2016-12-28 11:52:27 -08:00
AddSphinxTarget.cmake first commit 2016-12-28 11:52:27 -08:00
CMakeLists.txt Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
CheckAtomic.cmake first commit 2016-12-28 11:52:27 -08:00
ChooseMSVCCRT.cmake first commit 2016-12-28 11:52:27 -08:00
CrossCompile.cmake first commit 2016-12-28 11:52:27 -08:00
FindD3D12.cmake first commit 2016-12-28 11:52:27 -08:00
FindDiaSDK.cmake Add support for AppVeyor continuous integration (#131) 2017-03-13 16:21:15 -07:00
FindOCaml.cmake first commit 2016-12-28 11:52:27 -08:00
FindSphinx.cmake first commit 2016-12-28 11:52:27 -08:00
FindTAEF.cmake first commit 2016-12-28 11:52:27 -08:00
GetHostTriple.cmake first commit 2016-12-28 11:52:27 -08:00
GetSVN.cmake first commit 2016-12-28 11:52:27 -08:00
HandleLLVMOptions.cmake first commit 2016-12-28 11:52:27 -08:00
HandleLLVMStdlib.cmake first commit 2016-12-28 11:52:27 -08:00
LLVM-Config.cmake first commit 2016-12-28 11:52:27 -08:00
LLVMConfig.cmake.in first commit 2016-12-28 11:52:27 -08:00
LLVMConfigVersion.cmake.in first commit 2016-12-28 11:52:27 -08:00
LLVMProcessSources.cmake first commit 2016-12-28 11:52:27 -08:00
TableGen.cmake first commit 2016-12-28 11:52:27 -08:00
VersionFromVCS.cmake first commit 2016-12-28 11:52:27 -08:00