DirectXShaderCompiler/external
Antonio Maiorano 37a082651d
CMake dxc as subproject fixes (#6050)
These changes allow us to use DXC as as CMake subproject (via
add_subdirectory).

Commit comments from each commit:

===

cmake: allow CMAKE_INSTALL_RPATH to be defined in superproject on APPLE
platforms

As on Linux, allow CMAKE_INSTALL_RPATH to be defined in a CMake
superproject.

===

cmake: Allow LLVM_ENABLE_ASSERTIONS=OFF to disable assertions in Debug
builds

Currently, this flag is only used to enable assertions in non-Debug
builds, but is not respected in Debug builds. That is, if set to false,
Debug builds will still assert. This change fixes that.

Note that by default, LLVM_ENABLE_ASSERTIONS is true in Debug builds, so
unless it's explicitly set to false, this is a no-op for most people.

===

cmake: Allow DIRECTX_HEADERS_INCLUDE_DIR to be defined from superproject

Useful for when DXC is included as a subdirectory. In Dawn/Chrome, we
use our own mirror of DirectX-Headers instead of checking out the repo's
submodules, so we need to override this variable.
2023-11-22 14:33:09 -05:00
..
DirectX-Headers@980971e835 [linux] Enable Reflection on *nix platforms (#4810) 2022-11-23 19:10:29 -07:00
SPIRV-Headers@cca08c63ce Update submodules (#6043) 2023-11-20 14:24:49 -08:00
SPIRV-Tools@2a238ed24d Update submodules (#6043) 2023-11-20 14:24:49 -08:00
effcee@66edefd2bb Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
re2@b76a3eac1d Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
CMakeLists.txt CMake dxc as subproject fixes (#6050) 2023-11-22 14:33:09 -05:00
GTestConfig.cmake [linux-port] Fix spirv test warnings (#1337) 2018-06-02 04:16:29 -04:00