The build* entry in .gitignore was intended to exclude any build
directories with whatever suffixes a developer might use for various
build configurations. The way it was written made it exclude any file
that had build in the name, which was more aggressive than needed.
By adding a leading slash, it is limited to items in the git root
directory. By adding a trailing slash, it is limited to directories in
the root directory. This accomplishes the intended exclusions as
narrowly as possible.
(I swear I'm not trying to win a bet on writing the longest description
of a two character change in history)
Fixes#4733
- added *.dxo.converted to the list of extensions ignored by git
- renamed 3 test outputs from .fxc to .dxbc (which will make them to be ignored by git)
* HLSL test infrastucture and other refactoring
Refactor common test infrastructure code into HLSLTestLib
Enable invocation of fxc and other executables via // RUN: commands in test files
Add latest d3dx12.h to include/dxc/Support and remove two other outdated copies
Improve DXIL container header validation on load
New helper classes DxilContainerReader and FixedSizeMemoryStream
Move LoadSubobjectsFromRDAT to DxilSubobjects.cpp
Co-authored-by: Greg Roth <grroth@microsoft.com>
Use the new CMake build support in VS2017 to build without having to run cmake
separately. Removes the need to download cmake separately.
By default binaries are built in:
%LOCALAPPDATA%\CMakeBuild\DirectXShaderCompiler\build\{build-flavor}
Build settings can be changed by modifying CMakeSettings.json.
Improve new developer experience
Update README and hctstart.cmd tools to help new developers.
Update README
* Add instructions on how to setup the build environment
from the command line.
* Add note to install common tools for c++ to get the atl headers.
* Change cmake download to point to cmake 3.4.3. Version 3.4 did
not work for me (it could not find the Visual Studio compiler tools).
Modify hctstart.cmd
* Explicitly check for the d3d12.h header from the 10240 windows kit.
Without this early check we get a build error much later.
* Check for cmake version 3.4.3 and warn if not found.
Update gitignore for visual studio code temporary files.