summaryrefslogtreecommitdiffstats
path: root/Modules/FindVulkan.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindVulkan: Add more search paths for MINGW when cross compilingRalf Habacker2023-02-281-7/+10
| | | | Fixes: #24536
* Merge topic 'FindVulkan-tolerate-FATAL_ERROR'Brad King2022-08-171-0/+10
|\ | | | | | | | | | | | | | | 9063674517 Help: Add 3.24 release note about FindVulkan component enforcement bc01362368 FindVulkan: Restore tolerance of unknown FATAL_ERROR component Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7583
| * FindVulkan: Restore tolerance of unknown FATAL_ERROR componentBrad King2022-08-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | `find_package(Vulkan REQUIRED FATAL_ERROR)` calls exist in the wild, but `find_package` does not have a `FATAL_ERROR` option. We silently tolerated such calls prior to commit 6e4d20921d (FindVulkan: Add component for `shaderc_combined`, 2022-05-18, v3.24.0-rc1~111^2~5), by treating the argument as a component and ignoring it. Restore tolerance by removing the component and warning about it. Fixes: #23849
* | FindVulkan: Move dxc component docs into definition listBrad King2022-07-251-4/+5
| |
* | Merge branch 'backport-3.24-FindVulkan-relnotes'Brad King2022-07-251-4/+23
|\ \ | |/
| * FindVulkan: Add missing 3.24 release notesMACHIZAUD Andréa2022-07-251-0/+3
| |
| * FindVulkan: Format component documentation as definition listBrad King2022-07-251-4/+20
| |
* | FindVulkan: Add `dxc` (DirectX Shader Compiler) componentHellsingDarge2022-07-201-0/+75
| |
* | FindVulkan: Add 'volk' componentAiden Lambert2022-06-221-0/+41
|/
* FindVulkan: Add component for `MoltenVK`MACHIZAUD Andréa2022-05-221-0/+87
|
* FindVulkan: Add component for `glslc` and `glslangValidator`MACHIZAUD Andréa2022-05-181-17/+48
| | | | For backward compatibility with previous CMake versions they are implicitly added to the list of components
* FindVulkan: ensure policy CMP0057 is NEW to use `IN_LIST` with `if()`MACHIZAUD Andréa2022-05-181-0/+5
|
* FindVulkan: Add component for `glslang`MACHIZAUD Andréa2022-05-181-3/+279
|
* FindVulkan: Add component for `SPIRV-Tools`MACHIZAUD Andréa2022-05-181-4/+53
|
* FindVulkan: Add component for `shaderc_combined`MACHIZAUD Andréa2022-05-181-0/+97
|
* FindVulkan: Move `mark_as_advanced` right after `find_*` calls.MACHIZAUD Andréa2022-05-131-3/+6
|
* FindVulkan: Factorize code for library/executable searchMACHIZAUD Andréa2022-05-131-51/+56
|
* FindVulkan: Fix finding versions < 1.2.175Ralf Habacker2021-11-101-4/+9
|
* FindVulkan: Add version supportRalf Habacker2021-10-271-14/+43
| | | | | The version is constructed in the form <major>.<minor>.<patch> e.g. 1.2.189.
* FindVulkan: add Vulkan::Headers and Vulkan::glslangValidator targetsPCJohn2021-05-241-6/+48
| | | | | | | | | | The `Vulkan::Headers` target complements existing Vulkan::Vulkan target. It is the same except it omits the Vulkan library which supports applications that loads the Vulkan library in at runtime. The `Vulkan::glslangValidator` target provides the glslangValidator executable which is the tool for converting between shader languages (GLSL, SPIR-V, etc.).
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-2/+5
| | | | Issue: #19715
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* FindVulkan: Support for finding glslcRyan Kawicki2020-06-271-4/+26
| | | | | | | The GLSL SPIR-V compiler is part of the Vulkan SDK and may be used by projects for compiling shaders as part of the build process. This is not strictly required to build a Vulkan application, which is why the variable is not part of the REQUIRED_VARs for the module.
* FindVulkan: Prefer VULKAN_SDK env var before standard paths on UNIXPatric Schmitz2020-05-061-8/+15
| | | | | | Also document the variable. Fixes: #18346
* FindVulkan: Prefer VULKAN_SDK env var before standard pathspheonix xx2020-04-281-6/+5
| | | | | | Reference the environment variable as HINTS instead of PATHS. Fixes: #20637
* Fix repeated word in FindVulkan.cmakeNeroBurner2019-07-181-1/+1
|
* Help: Improve description of modulesBartosz Kosiorek2019-04-231-2/+3
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-26/+27
|
* Find*: always include FPHSA shipped with CMakeRolf Eike Beer2018-04-021-1/+1
|
* FindVulkan: Fix for SDK versions < 1.0.42 on 32-bit WindowsMatthäus G. Chajdas2017-03-061-0/+1
| | | | | | | | | Before Vulkan 1.0.42, the SDK would add the Bin directory to `PATH`, which was confusing the 32-bit search on Windows. Avoid such confusion by ignoring the `PATH` when looking for the 32-bit version. Vulkan 1.0.42 fixed the whole problem by moving the libraries into Lib, Lib32, so this is strictly a compatibility fix for old SDKs.
* FindVulkan: Update for LunarG SDK import library location on WindowsBrad Davis2017-03-021-2/+6
| | | | | | As of at least 1.0.42 of the LunarG SDK, the `vulkan-1.lib` import library on Windows is stored in `${VULKAN_SDK}/Lib` or `${VULKAN_SDK}/Lib32`.
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Add FindVulkan.cmake.Matthäus G. Chajdas2016-06-081-0/+85
This adds FindVulkan with corresponding tests.