Revision 4fa0111bb35f260a06527f52f71552041827c7df authored by jsmall-nvidia on 22 June 2018, 19:06:41 UTC, committed by GitHub on 22 June 2018, 19:06:41 UTC
* Added Result definitions to the slang.h

* Removed slang-result.h and added slang-com-helper.h

* Move slang-com-ptr.h to be publically available.

* Add SLANG_IUNKNOWN macros to simplify implementing interfaces.
Use the SLANG_IUNKNOWN macros to in slang.c

* Removed slang-defines.h added outstanding defines to slang.h

* Include slang-com-ptr.h and slang-com-helper.h in archives built with CI.

* Use spaces instead of tabs on appveyor.yml
1 parent d0c9571
Raw File
building.md
# Building Slang From Source

## Get the Source Code

Clone [this](https://github.com/shader-slang/slang) repository, and then run:

    git submodule update --init

The submodule update step is required to pull in the copy of the `glslang` compiler that we currently use for generating SPIR-V.

## Using Visual Studio

Building from source is really only well supported for Windows users with Visual Studio 2015 or later.
If you are on Windows, then open `slang.sln` and build your desired platform/configuration.

## Linux

For Linux, we include a simple `Makefile`, but it is not designed to be used for active development (e.g., dependency tracking is not handled).
back to top