aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-07-27Remove custom target if skipping installJeremy Hayes
Fix #271.
2022-04-07build: use ARCH_INDEPENDENT if possibleAndrea Pappacoda
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.
2021-10-11add 1.5.5 tagAndrei Malashkin
2021-09-09Update CMakeLists.txtBedrockDotPng
Fixed CMake file for Shaderc to properly compile.
2021-05-20Rename spirv-headers.pc to SPIRV-Headers.pcTomasz Kłoczko
2021-05-19removed excesive space in configure_file() lineTomasz Kłoczko
2021-05-18Add spirv-headers pkgconfig fileTomasz Kłoczko
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>
2020-11-05cmake: Install cmake files to CMAKE_INSTALL_DATADIRorbea
2020-01-01Also propagate SPIRV-Headers version to CMakeLists.txtMihai Vultur
2019-09-24add cmake option SPIRV_HEADERS_SKIP_INSTALLlgotszal
2019-05-18Update CMakeLists.txtMatt Chiasson
2019-05-16updated as per code reviewMatt Chiasson
2019-05-11cmake development configuration packageMathieu-Andre Chiasson
Fixes #104
2018-11-16Add option to skip examples.dan sinclair
This CL adds a SPIRV_HEADERS_SKIP_EXAMPLES flag which skips building the example folder.
2018-06-01cmake: support gnu installation directory conventionJames Knight
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>
2017-09-27cmake: support default install targetJames Knight
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>
2017-09-27cmake: bump minimum required to support exampleJames Knight
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>
2016-04-14Publish SPIR-V Registry files: SPIR-V 1.0 Revision 4David Neto
Include all the headers. Include the XML registry file, spir-v.xml, since it's also machine-readable and potentially useful to programs.