mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-10 02:41:47 +00:00
Update C++ minimum to 17
This commit is contained in:
parent
d2bc688552
commit
a1a0aba737
@ -76,7 +76,7 @@ target_link_libraries(vk-bootstrap
|
|||||||
vk-bootstrap-compiler-warnings
|
vk-bootstrap-compiler-warnings
|
||||||
vk-bootstrap-vulkan-headers
|
vk-bootstrap-vulkan-headers
|
||||||
${CMAKE_DL_LIBS})
|
${CMAKE_DL_LIBS})
|
||||||
target_compile_features(vk-bootstrap PUBLIC cxx_std_14)
|
target_compile_features(vk-bootstrap PUBLIC cxx_std_17)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
install(FILES src/VkBootstrap.h src/VkBootstrapDispatch.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(FILES src/VkBootstrap.h src/VkBootstrapDispatch.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
12
README.md
12
README.md
@ -76,7 +76,7 @@ See `example/triangle.cpp` for an example that renders a triangle to the screen.
|
|||||||
|
|
||||||
## Setting up `vk-bootstrap`
|
## Setting up `vk-bootstrap`
|
||||||
|
|
||||||
This library has no external dependencies beyond C++14, its standard library, and at least the 1.1 version of the Vulkan Headers.
|
This library has no external dependencies beyond C++17, its standard library, and at least the 1.1 version of the Vulkan Headers.
|
||||||
|
|
||||||
Note: on Unix platforms, `vk-bootstrap` will require the dynamic linker in order to compile as the library doesn't link against `vulkan-1.dll`/`libvulkan.so` directly.
|
Note: on Unix platforms, `vk-bootstrap` will require the dynamic linker in order to compile as the library doesn't link against `vulkan-1.dll`/`libvulkan.so` directly.
|
||||||
|
|
||||||
@ -150,8 +150,8 @@ cmake ../path/to/your_project/ -DVK_BOOTSTRAP_TEST=ON
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Build Options
|
### Build Options
|
||||||
| Name | Type | Default Value | Description |
|
| Name | Type | Default Value | Description |
|
||||||
| ---- | --- | ---- | ----- |
|
| -------------------------------- | ------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `VK_BOOTSTRAP_WERROR` | bool | `OFF` | Enable warnings as errors during compilation. |
|
| `VK_BOOTSTRAP_WERROR` | bool | `OFF` | Enable warnings as errors during compilation. |
|
||||||
| `VK_BOOTSTRAP_TEST` | bool | `OFF` | Enable building of the tests in this project. Will download GLFW and Catch2 automatically if enabled. |
|
| `VK_BOOTSTRAP_TEST` | bool | `OFF` | Enable building of the tests in this project. Will download GLFW and Catch2 automatically if enabled. |
|
||||||
| `VK_BOOTSTRAP_VULKAN_HEADER_DIR` | string | `""` | Optional. Specify the directory that contains the Vulkan Headers. Useful if you are downloading the headers manually and don't want vk-bootstrap to download them itself. |
|
| `VK_BOOTSTRAP_VULKAN_HEADER_DIR` | string | `""` | Optional. Specify the directory that contains the Vulkan Headers. Useful if you are downloading the headers manually and don't want vk-bootstrap to download them itself. |
|
||||||
|
Loading…
Reference in New Issue
Block a user