fixing windows build x3 | replacing compile commands by compile flags

This commit is contained in:
2024-09-15 07:52:25 +02:00
parent 91b51a5621
commit 4c17f2e165
7 changed files with 45 additions and 825 deletions

View File

@@ -47,6 +47,11 @@
#include <math.h> // sincos
#endif
#define VMA_STATIC_VULKAN_FUNCTIONS 0
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
#define VMA_VULKAN_VERSION 1000000
#define VMA_ASSERT(expr) ((void)0)
#ifdef MLX_COMPILER_CLANG
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Weverything"
@@ -69,6 +74,9 @@
#include <Utils/AntiWindows.h>
#include <Renderer/Vulkan/VulkanPrototypes.h>
#ifdef DEBUG
#define KVF_ENABLE_VALIDATION_LAYERS
#endif
#include <kvf.h>
#include <Core/Logs.h>