Commit graph

16 commits

Author SHA1 Message Date
Juan Ramos
7d92fe7b68 cmake: Fix integration.install for multi config generators 2023-11-20 18:07:10 -07:00
Juan Ramos
b93aa80bbc Fix testing for 3.15 2023-11-20 18:07:10 -07:00
Juan Ramos
a32b2b412b Use ctest for integration testing 2023-11-20 14:18:09 -07:00
Juan Ramos
3fb9d9fde5 ci: Fix -Wdeprecated-non-prototype warnings
Occurs on AppleClang
2023-10-12 17:23:05 -06:00
Juan Ramos
6eee20744f ci: Add Windows to CI 2023-07-17 12:47:51 -06:00
Juan Ramos
bc14fdad60 Add REUSE compliance checker to CI 2023-07-14 09:57:20 -06:00
Juan Ramos
482af6d865 cmake: Remove VULKAN_HEADERS_INSTALL
VULKAN_HEADERS_INSTALL was added since it was believed there was
a valid use case for it.

After looking into the use case that provoked this change there is
no reason to keep VULKAN_HEADERS_INSTALL as an option.

Here is the use case we do NOT want to support:
https://github.com/KhronosGroup/Vulkan-Headers/pull/416#issuecomment-1622318949

Fundamentally this problem is caused add_subdirectory/find_package
not being able to work together flawlessly.

Which isn't the responsibility of Vulkan-Headers to fix.

It's the responsibility of projects that consume Vulkan-Headers
to account for either method.

As described by the CMake maintainers:
https://discourse.cmake.org/t/idiomatic-way-to-handle-packages-and-add-subdirectory/8400
2023-07-05 15:22:17 -06:00
Juan Ramos
6f34ca5a37 cmake: Remove usage of configure_package_config_file
Fixes issue shown here:
https://github.com/KhronosGroup/Vulkan-Headers/pull/415
2023-07-05 10:19:57 -06:00
Juan Ramos
ad5f8ee975 cmake: Add VULKAN_HEADERS_INSTALL option
Allows add_subdirectory users to install vulkan-headers
2023-06-30 09:56:11 -06:00
Juan Ramos
65ad768d86 cmake: Minor CMake cleanup
- Fix project name to be less confusing
- Better testing
2023-03-15 13:55:17 -06:00
Juan Ramos
e8b8e06d09 headers: Remove VK_LAYER_EXPORT
- It hasn't been handling windows (so it's been half implemented)
- It's a suboptimal method for exporting symbols for vulkan layers
since `--version-script` and `.def` files exists. Both of these
methods also don't risk name mangling.
- `--version-script` also has perf benefits since you can silence
exports from code you didn't intend to export
2023-02-07 18:30:17 -07:00
Juan Ramos
6f62a95edb build: Remove vk_sdk_platform.h
Users have already been warned about this file being deprecated.
2023-01-19 10:02:09 -07:00
Juan Ramos
d0f8581c60 ci: Test find_package support 2023-01-11 12:26:22 -07:00
Juan Ramos
18963a6cc0 Deprecate vk_sdk_platform.h
closes #316
2023-01-05 09:09:15 -07:00
Juan Ramos
24115c70be docs: Update copyright 2023-01-04 10:41:02 -07:00
Juan Ramos
43946b0feb tests: Test Non-API headers
Ensures the non-API headers compile correctly
2022-12-20 15:15:25 -07:00