Skip to content

Commit 60da9d0

Browse files
committed
Build vulkan support into the example rendering plugin for linux
1 parent 2b8ca29 commit 60da9d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PluginSource/projects/GNUMake/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
SRCDIR = ../../source
22
SRCS = $(SRCDIR)/RenderingPlugin.cpp \
33
$(SRCDIR)/RenderAPI.cpp \
4-
$(SRCDIR)/RenderAPI_OpenGLCoreES.cpp
4+
$(SRCDIR)/RenderAPI_OpenGLCoreES.cpp \
5+
$(SRCDIR)/RenderAPI_Vulkan.cpp
56
OBJS = ${SRCS:.cpp=.o}
6-
UNITY_DEFINES = -DSUPPORT_OPENGL_UNIFIED=1 -DUNITY_LINUX=1
7+
UNITY_DEFINES = -DSUPPORT_OPENGL_UNIFIED=1 -DSUPPORT_VULKAN=1 -DUNITY_LINUX=1
78
CXXFLAGS = $(UNITY_DEFINES) -O2 -fPIC
89
LDFLAGS = -shared -rdynamic
910
LIBS =

0 commit comments

Comments
 (0)