diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-19 11:27:23 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-19 11:27:23 -0700 |
| commit | a97eac202cec673a0f2e27e808cfdcdd29289c4e (patch) | |
| tree | 71022a3689bedfffe0ee3d969daffb2ae42fc720 /slang.h | |
| parent | c5ed9e8d6bc1668d6075b42b17d65a97c168c98b (diff) | |
Build a dynamic library for Slang
- Change the `slang` project from a static library to a dynamic one
- Add some details around `slang.h` to make sure DLL export stuff is working
- Make the `slangc` executable use the dynamic library
- Rename the `glslang` sub-project to `slang-glslang` and move it into the main source hierarchy
- This reflects the fact that it isn't a stand-alone tool, and isn't in any way a standard binary of glslang, but rather just an artifact of how Slang uses glslang
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ #define SLANG_H #ifdef _MSC_VER -#ifdef SLANG_COMPILING_DLL +#ifdef SLANG_DYNAMIC_EXPORT #define SLANG_API __declspec(dllexport) #else #ifdef SLANG_DYNAMIC |
