Commit Graph

30 Commits

Author SHA1 Message Date
scribam
861ef3c986 Allow external control of whether to install 2024-07-13 19:42:37 +02:00
Adam Sawicki
257138b8f5 Reapply "Merge pull request #425 from abouvier/cmake-version"
This reverts commit dd5b5cb6f2.
2024-06-28 14:35:43 +02:00
Adam Sawicki
dd5b5cb6f2 Revert "Merge pull request #425 from abouvier/cmake-version"
This reverts commit d708e0e124, reversing
changes made to feb11e1727.
2024-06-28 11:20:43 +02:00
Alexandre Bouvier
c0a6728ef8 cmake: add package version file 2024-06-27 19:16:45 +02:00
Alexandre Bouvier
700db16b54 cmake: install docs 2023-07-19 07:22:03 +02:00
Juan Ramos
c5547ffad1 cmake: Use share instead of DATADIR for CMake config files
See the following discussion for context:
https://discourse.cmake.org/t/what-should-the-destination-be-for-a-header-only-librarys-cmake-config-file/8473/2

NOTE: I've never seen this cause an issue before, but better safe than sorry.
Also I think it reads a bit better.

I recently did this for VulkanHeaders so I'd like this fixed here as
well.
2023-07-11 12:59:18 -06:00
Adam Sawicki
9b0fc3e7b0 Fixes in Cmake scripts after merging #350 (2) 2023-07-11 18:40:30 +02:00
Adam Sawicki
01fe410548 Fixes in Cmake scripts after merging #350 2023-07-11 18:00:37 +02:00
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