mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
fixing windows build x3 | replacing compile commands by compile flags
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
#include <mlx_profile.h>
|
||||
#include <PreCompiled.h>
|
||||
|
||||
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
||||
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
|
||||
#define VMA_VULKAN_VERSION 1000000
|
||||
#define VMA_ASSERT(expr) ((void)0)
|
||||
#define VMA_IMPLEMENTATION
|
||||
|
||||
#ifdef MLX_COMPILER_CLANG
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Weverything"
|
||||
#include <PreCompiled.h>
|
||||
#include <vma.h>
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(MLX_COMPILER_GCC)
|
||||
#pragma GCC diagnostic push
|
||||
@@ -18,10 +14,10 @@
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#pragma GCC diagnostic ignored "-Wparentheses"
|
||||
#include <PreCompiled.h>
|
||||
#include <vma.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#else
|
||||
#include <PreCompiled.h>
|
||||
#include <vma.h>
|
||||
#endif
|
||||
|
||||
#include <Renderer/RenderCore.h>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#include <PreCompiled.h>
|
||||
|
||||
#define KVF_IMPLEMENTATION
|
||||
#ifdef DEBUG
|
||||
#define KVF_ENABLE_VALIDATION_LAYERS
|
||||
#endif
|
||||
#include <PreCompiled.h>
|
||||
|
||||
#include <kvf.h>
|
||||
|
||||
#include <Renderer/RenderCore.h>
|
||||
#include <Renderer/Vulkan/VulkanLoader.h>
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
#else
|
||||
typedef int (__stdcall* FARPROC)(void);
|
||||
#endif
|
||||
#else
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
namespace mlx
|
||||
|
||||
Reference in New Issue
Block a user