Age | Commit message (Collapse) | Author |
|
Fix #271.
|
|
Since this is a header-only library, the CMake Version file should be marked architecture-independent with the ARCH_INDEPENDENT option. As the option has been added in CMake 3.14 and spriv-headers supports CMake 3.0 the option has to be passed only if supported.
|
|
|
|
Fixed CMake file for Shaderc to properly compile.
|
|
|
|
|
|
With installed pkgconfig file other projects build processes can
detest availability of the spirv-headers and require some minimum
version of the spirv-headers to be present in build environment.
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #104
|
|
This CL adds a SPIRV_HEADERS_SKIP_EXAMPLES flag which skips building the
example folder.
|
|
Support the handling of the `DESTDIR` environment variable for
environments (UNIX-based) opting for an GNU-style installation over
a CMake-style installation.
Cc: sl1pkn07 <sl1pkn07@gmail.com>
Signed-off-by: James Knight <james.d.knight@live.com>
|
|
Allow the common install target to support the installation of
header files (rather then having a custom target). Developers should
be able to invoke the install target as follows:
cmake --build . --target install
This commit leaves the original custom target to install headers
for interim support.
Signed-off-by: James Knight <james.d.knight@live.com>
|
|
The sub-directory "example" takes advantage of the command
"target_include_directories", which is only available in CMake
v2.8.11+ [1][2]. Bumping the minimum version of CMake required.
[1]: https://cmake.org/cmake/help/v2.8.11/cmake.html#command:target_include_directories
[2]: https://cmake.org/cmake/help/v2.8.10/cmake.html#section_Commands
Signed-off-by: James Knight <james.d.knight@live.com>
|
|
Include all the headers.
Include the XML registry file, spir-v.xml, since it's also machine-readable
and potentially useful to programs.
|