diff --git a/src/vk_mem_alloc.h b/include/vk_mem_alloc.h similarity index 100% rename from src/vk_mem_alloc.h rename to include/vk_mem_alloc.h diff --git a/premake/premake5.lua b/premake/premake5.lua index 5110656..a745f5b 100644 --- a/premake/premake5.lua +++ b/premake/premake5.lua @@ -31,7 +31,7 @@ filename ("VulkanSample_" .. _SUFFIX) targetdir "../bin" objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}" floatingpoint "Fast" -files { "../src/*.h", "../src/*.cpp" } +files { "../src/*.h", "../src/*.cpp", "../include/*.h" } flags { "NoPCH", "FatalWarnings" } characterset "Unicode" @@ -69,7 +69,7 @@ filename ("VmaReplay_" .. _SUFFIX) targetdir "../bin" objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}" floatingpoint "Fast" -files { "../src/VmaReplay/*.h", "../src/VmaReplay/*.cpp" } +files { "../src/VmaReplay/*.h", "../src/VmaReplay/*.cpp", "../include/*.h" } flags { "NoPCH", "FatalWarnings" } characterset "Default" diff --git a/src/VmaReplay/VmaUsage.h b/src/VmaReplay/VmaUsage.h index 5a62bd6..22ba27e 100644 --- a/src/VmaReplay/VmaUsage.h +++ b/src/VmaReplay/VmaUsage.h @@ -45,6 +45,6 @@ #pragma warning(disable: 4189) // local variable is initialized but not referenced #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) diff --git a/src/VmaUsage.h b/src/VmaUsage.h index 8c8e434..9c778b0 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -89,7 +89,7 @@ include all public interface declarations. Example: #pragma clang diagnostic ignored "-Wnullability-completeness" #endif -#include "vk_mem_alloc.h" +#include "../include/vk_mem_alloc.h" #ifdef __clang__ #pragma clang diagnostic pop