summaryrefslogtreecommitdiffstats
path: root/Modules/FindVulkan.cmake
Commit message (Collapse)AuthorAgeFilesLines
* 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.