diff --git a/templates/ios-make/Makefile b/templates/ios-make/Makefile index 7c15760..78ff680 100644 --- a/templates/ios-make/Makefile +++ b/templates/ios-make/Makefile @@ -32,7 +32,8 @@ SOURCES := \ ${COMMON_DIR}/src/app-Bridging-Header.h \ ${PLUGIN_DIR}/plugin.h \ ${C_SRCS_EXTRA} \ - ${CXX_SRCS_EXTRA} + ${CXX_SRCS_EXTRA} \ + ${SRCS_EXTRA} SOURCES_OUT = $(addprefix build/gen/src/, $(notdir $(SOURCES))) all: build/gen/${BUNDLE_NAME}.xcodeproj diff --git a/templates/ios-make/vars.mk b/templates/ios-make/vars.mk index ce53055..e647abc 100644 --- a/templates/ios-make/vars.mk +++ b/templates/ios-make/vars.mk @@ -22,6 +22,7 @@ BUNDLE_NAME := {{=it.product.bundleName}} C_SRCS_EXTRA := {{=it.make && it.make.cSrcs ? it.make.cSrcs : ""}} {{=it.ios_make && it.ios_make.cSrcs ? it.ios_make.cSrcs : ""}} CXX_SRCS_EXTRA := {{=it.make && it.make.cxxSrcs ? it.make.cxxSrcs : ""}} {{=it.ios_make && it.ios_make.cxxSrcs ? it.ios_make.cxxSrcs : ""}} +SRCS_EXTRA := {{=it.ios_make && it.ios_make.srcsExtra ? it.ios_make.srcsExtra : ""}} COMMON_DIR := {{=it.ios_make && it.ios_make.commonDir ? it.ios_make.commonDir : (it.make && it.make.commonDir ? it.make.commonDir : "")}} DATA_DIR := {{=it.ios_make && it.ios_make.dataDir ? it.ios_make.dataDir : (it.make && it.make.dataDir ? it.make.dataDir : "")}}