Commit Graph

22 Commits

Author SHA1 Message Date
Juan Ramos
3d23bb07e3 Make VulkanMemoryAllocator a header only library
Dramatically simplify the CMake code for end users. The intent
is to make the CMake for this library very easy to maintain.
While also making it easier for end users to consume.

This makes the CMake code very similar to:
- KhronosGroup/Vulkan-Headers
- KhronosGroup/SPIRV-Headers

Which is good for consistency/expectations.

The VmaUsage library still highlights the expected usage of
the "stb-style" single header file in a project.

closes #346
2023-07-06 14:49:44 -06:00
Alexandre Bouvier
7f9124bad2 cmake: always add vulkan headers dir 2023-06-30 20:57:03 +02:00
Adam Sawicki
413fc4f988
Merge pull request #304 from juan-lunarg/juaramos/cmake_cleanup
Minor CMake cleanup
2022-12-01 16:32:13 +01:00
Juan Ramos
5d969741c1 Specify CXX as the language being used for the project 2022-11-30 10:27:21 -07:00
Juan Ramos
5b61b5599d Fix endif() 2022-11-30 10:27:21 -07:00
Adam Sawicki
ad893909d4 Fixes in CMakeLists.txt regarding Doxygen usage
See #303
2022-11-30 11:26:56 +01:00
Adam Sawicki
fd7b20101f Further fixes in CMakeLists.txt
See #303
2022-11-29 17:47:10 +01:00
Adam Sawicki
3703ef88ff Fixing CMakeLists.txt for older Cmake
See #303
2022-11-29 16:06:36 +01:00
Adam Sawicki
b367b36ffc Added usage of PROJECT_IS_TOP_LEVEL around find_package in CMakeLists.txt
See #303
2022-11-29 15:41:52 +01:00
Adam Sawicki
a8581fc96c Deleted the whole Record&Replay feature. COMPATIBILITY BREAKING!
Removed from the API: VmaAllocatorCreateInfo::pRecordSettings, VmaRecordSettings, VmaRecordFlagBits, VmaRecordFlags.
Regenerated documentation. Updated README.
2022-01-10 18:11:09 +01:00
Adam Sawicki
7c48285034 Removed VMA_USE_STL_CONTAINERS 2021-12-22 14:57:18 +01:00
Adam Sawicki
4586be47d8 Fixed usage of VMA_STATIC_VULKAN_FUNCTIONS, VMA_DYNAMIC_VULKAN_FUNCTIONS in CmakeLists.txt
Fixes #215
2021-12-17 12:11:06 +01:00
Adam Sawicki
ad9c5bf8d7 Improvement in CMakeLists.txt 2021-12-02 16:38:48 +01:00
Lukasz Izdebski
cf6b1a9270 Doxygen added to CMake, shader project dependency added to Sample Project 2021-10-06 13:30:04 +02:00
Hindrik Stegenga
43ff2ef658
Add include_directories to CMake to include the header files. 2021-07-23 11:53:11 +02:00
Johannes Schneider
f8daef898c
Add VMA_STATIC_VULKAN_FUNCTIONS and set VMA_DYNAMIC_VULKAN_FUNCTIONS to ON by default 2021-06-02 23:18:59 +02:00
Johannes Schneider
8111c12b36
Expose important VMA settings macros as CMake options 2021-06-02 00:22:18 +02:00
Johannes Schneider
e65c1469d9
Improve consistency in naming of targets and options 2021-05-31 23:53:21 +02:00
Johannes Schneider
7dc310ad85
Remove CMAKE_DISABLE_IN_SOURCE_BUILD 2021-05-31 23:53:20 +02:00
Johannes Schneider
d475fbb999
Do not set CMAKE_RUNTIME_OUTPUT_DIRECTORY 2021-05-28 02:12:29 +02:00
Johannes Schneider
e32721df9e
Make building shaders, VMA example application and VMA replay app optional 2021-05-28 02:04:15 +02:00
Johannes
69747a2bdb
Add CMake support 2021-05-27 22:10:12 +02:00