mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
yes
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@
|
|||||||
*.ilk
|
*.ilk
|
||||||
*.pdb
|
*.pdb
|
||||||
*.gch
|
*.gch
|
||||||
|
*.pch
|
||||||
*.exe
|
*.exe
|
||||||
*vgcore
|
*vgcore
|
||||||
*.gdb_history
|
*.gdb_history
|
||||||
|
|||||||
7
Makefile
7
Makefile
@@ -31,19 +31,20 @@ CXX = clang++
|
|||||||
CXXFLAGS = -std=c++20 -fPIC -Wall -Wextra -DSDL_MAIN_HANDLED
|
CXXFLAGS = -std=c++20 -fPIC -Wall -Wextra -DSDL_MAIN_HANDLED
|
||||||
INCLUDES = -I./includes -I./runtime/Includes -I./runtime/Sources -I./third_party
|
INCLUDES = -I./includes -I./runtime/Includes -I./runtime/Sources -I./third_party
|
||||||
|
|
||||||
CXXPCHFLAGS =
|
CXXPCHFLAGS = -xc++-header
|
||||||
|
|
||||||
PCH = runtime/Includes/PreCompiled.h
|
PCH = runtime/Includes/PreCompiled.h
|
||||||
GCH = runtime/Includes/PreCompiled.h.gch
|
GCH =
|
||||||
|
|
||||||
NZSLC = nzslc
|
NZSLC = nzslc
|
||||||
|
|
||||||
ifeq ($(TOOLCHAIN), gcc)
|
ifeq ($(TOOLCHAIN), gcc)
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
GCH = runtime/Includes/PreCompiled.h.gch
|
||||||
CXXFLAGS += -Wno-error=cpp
|
CXXFLAGS += -Wno-error=cpp
|
||||||
else
|
else
|
||||||
|
GCH = runtime/Includes/PreCompiled.h.pch
|
||||||
CXXFLAGS += -Wno-error=#warning -include-pch $(GCH)
|
CXXFLAGS += -Wno-error=#warning -include-pch $(GCH)
|
||||||
CXXPCHFLAGS = -xc++-header
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#include <PreCompiled.h>
|
#include <PreCompiled.h>
|
||||||
|
|
||||||
#define VMA_IMPLEMENTATION
|
#define VMA_IMPLEMENTATION
|
||||||
#ifdef MLX_COMPILER_CLANG
|
#ifdef MLX_COMPILER_CLANG
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
|
|||||||
Reference in New Issue
Block a user