File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 4949 make PLATFORM=ios
5050 cd ..
5151 cd XEngine_AIApi
52+ make PLATFORM=ios
53+ cd ..
54+ cd XEngine_Verification
5255 make PLATFORM=ios
Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ else ifeq ($(PLATFORM), android)
5757 LOADBIN = -Wl,-rpath=./,--disable-new-dtags
5858 SDKPATH = $(HOME)/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
5959 CC = $(SDKPATH) -Wall -fPIC -std=c++20 -target aarch64-linux-android30
60+ else ifeq ($(PLATFORM), ios)
61+ PLATVER = -D __IOS__
62+ FILEEXT = dylib
63+ LIBFLAG = -dynamiclib
64+ LOADHDR += -I $(HOME)/XEngine_IOS_Arm64
65+ LOADSO += -L $(HOME)/XEngine_IOS_Arm64/XEngine_IOS/XEngine_BaseLib -L $(HOME)/XEngine_IOS_Arm64/XEngine_IOS/XEngine_Client
66+ SDKPATH = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
67+ CC = g++ -Wall -fPIC -std=c++20 -arch arm64 -Wno-deprecated-declarations -isysroot ${SDKPATH} -miphoneos-version-min=16.0
6068endif
6169
6270all :$(OBJECTS )
Original file line number Diff line number Diff line change 2020 FLAGS = -c
2121 DEBUG = -g -D _DEBUG
2222 else
23- FLAGS = -c -lc_p
24- DEBUG = -g -pg - D _DEBUG
23+ FLAGS = -c
24+ DEBUG = -g -D _DEBUG
2525 endif
2626endif
2727
@@ -57,6 +57,14 @@ else ifeq ($(PLATFORM), android)
5757 LOADBIN = -Wl,-rpath=./,--disable-new-dtags
5858 SDKPATH = $(HOME)/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
5959 CC = $(SDKPATH) -Wall -fPIC -std=c++20 -target aarch64-linux-android30
60+ else ifeq ($(PLATFORM), ios)
61+ PLATVER = -D __IOS__
62+ FILEEXT = dylib
63+ LIBFLAG = -dynamiclib
64+ LOADHDR += -I $(HOME)/XEngine_IOS_Arm64
65+ LOADSO += -L $(HOME)/XEngine_IOS_Arm64/XEngine_IOS/XEngine_BaseLib
66+ SDKPATH = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
67+ CC = g++ -Wall -fPIC -std=c++20 -arch arm64 -Wno-deprecated-declarations -isysroot ${SDKPATH} -miphoneos-version-min=16.0
6068endif
6169
6270all :$(OBJECTS )
You can’t perform that action at this time.
0 commit comments