Moved main file vk_mem_alloc.h to subdirectory include/

WARNING! This can break external code that depends on directory structure of this repository!

Closes #165
This commit is contained in:
Adam Sawicki 2021-04-19 13:46:49 +02:00
parent d1851f0ded
commit 59ec0809a7
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ filename ("VulkanSample_" .. _SUFFIX)
targetdir "../bin" targetdir "../bin"
objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}" objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}"
floatingpoint "Fast" floatingpoint "Fast"
files { "../src/*.h", "../src/*.cpp" } files { "../src/*.h", "../src/*.cpp", "../include/*.h" }
flags { "NoPCH", "FatalWarnings" } flags { "NoPCH", "FatalWarnings" }
characterset "Unicode" characterset "Unicode"
@ -69,7 +69,7 @@ filename ("VmaReplay_" .. _SUFFIX)
targetdir "../bin" targetdir "../bin"
objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}" objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}"
floatingpoint "Fast" floatingpoint "Fast"
files { "../src/VmaReplay/*.h", "../src/VmaReplay/*.cpp" } files { "../src/VmaReplay/*.h", "../src/VmaReplay/*.cpp", "../include/*.h" }
flags { "NoPCH", "FatalWarnings" } flags { "NoPCH", "FatalWarnings" }
characterset "Default" characterset "Default"

View File

@ -45,6 +45,6 @@
#pragma warning(disable: 4189) // local variable is initialized but not referenced #pragma warning(disable: 4189) // local variable is initialized but not referenced
#pragma warning(disable: 4324) // structure was padded due to alignment specifier #pragma warning(disable: 4324) // structure was padded due to alignment specifier
#include "../vk_mem_alloc.h" #include "../../include/vk_mem_alloc.h"
#pragma warning(pop) #pragma warning(pop)

View File

@ -89,7 +89,7 @@ include all public interface declarations. Example:
#pragma clang diagnostic ignored "-Wnullability-completeness" #pragma clang diagnostic ignored "-Wnullability-completeness"
#endif #endif
#include "vk_mem_alloc.h" #include "../include/vk_mem_alloc.h"
#ifdef __clang__ #ifdef __clang__
#pragma clang diagnostic pop #pragma clang diagnostic pop