mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-10 06:42:17 +00:00
Build with optimisations in Release only
Thanks to @Emawind for showing me how to do this!
This commit is contained in:
parent
49f758c7f9
commit
566da10ab6
1 changed files with 7 additions and 1 deletions
|
@ -5,9 +5,14 @@ LOCAL_PATH := $(call my-dir)
|
|||
OPENXR_HMD = -DMETA_QUEST
|
||||
#OPENXR_HMD = -DPICO_XR
|
||||
|
||||
JK3_BASE_CFLAGS = $(OPENXR_HMD) -O1 -DHAVE_GLES -DFINAL_BUILD -fexceptions -Wall -Wno-write-strings -Wno-comment -fno-caller-saves -fno-tree-vectorize -Wno-unused-but-set-variable -fvisibility=hidden
|
||||
JK3_BASE_CFLAGS = $(OPENXR_HMD) -DHAVE_GLES -DFINAL_BUILD -fexceptions -Wall -Wno-write-strings -Wno-comment -fno-caller-saves -fno-tree-vectorize -Wno-unused-but-set-variable -fvisibility=hidden
|
||||
JK3_BASE_CPPFLAGS = -fvisibility-inlines-hidden -Wno-invalid-offsetof -fvisibility=hidden
|
||||
|
||||
ifeq ($(NDK_DEBUG), 0)
|
||||
JK3_BASE_CFLAGS += -O3
|
||||
JK3_BASE_CPPFLAGS += -O3
|
||||
endif
|
||||
|
||||
JK3_BASE_LDLIBS =
|
||||
|
||||
#Armv7
|
||||
|
@ -19,6 +24,7 @@ JK3_BASE_C_INCLUDES += $(LOCAL_PATH)/../../../../../../3rdParty/khronos/openxr
|
|||
JK3_BASE_C_INCLUDES += $(LOCAL_PATH)/../../../../../../3rdParty/khronos/openxr/OpenXR-SDK/src/common
|
||||
JK3_BASE_C_INCLUDES += $(JK3_CODE_PATH)/ $(OPENJK_PATH)/code/ $(OPENJK_PATH)/shared/ $(JK3_CODE_PATH)/ui $(OPENJK_PATH)/lib/gsl-lite/include
|
||||
|
||||
|
||||
# Jedi Outcast
|
||||
include $(OPENJK_PATH)/Android_gles_jo.mk
|
||||
include $(OPENJK_PATH)/Android_client_jo.mk
|
||||
|
|
Loading…
Reference in a new issue