diff --git a/CMakeLists.txt b/CMakeLists.txt index 22869a0..90278ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ target_link_libraries(vk-bootstrap vk-bootstrap-compiler-warnings vk-bootstrap-vulkan-headers ${CMAKE_DL_LIBS}) -target_compile_features(vk-bootstrap PUBLIC cxx_std_14) +target_compile_features(vk-bootstrap PUBLIC cxx_std_17) include(GNUInstallDirs) install(FILES src/VkBootstrap.h src/VkBootstrapDispatch.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/README.md b/README.md index 63d17be..23b9730 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ See `example/triangle.cpp` for an example that renders a triangle to the screen. ## 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. @@ -150,8 +150,8 @@ cmake ../path/to/your_project/ -DVK_BOOTSTRAP_TEST=ON ``` ### Build Options -| Name | Type | Default Value | Description | -| ---- | --- | ---- | ----- | -| `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_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. | +| Name | Type | Default Value | Description | +| -------------------------------- | ------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `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_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. |