Skip to content

Commit 0100208

Browse files
Added start of iOS example
1 parent 6179082 commit 0100208

21 files changed

+926
-1
lines changed

addon_config.mk

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,11 @@ android/armeabi-v7a:
109109
#nothing yet
110110

111111
osx:
112-
#nothing yet
112+
ADDON_INCLUDES_EXCLUDE = libs/libwebsockets/include/win32port
113+
ADDON_INCLUDES_EXCLUDE += libs/libwebsockets/include/win32port/win32helpers
114+
115+
ios:
116+
ADDON_INCLUDES_EXCLUDE = libs/libwebsockets/include/win32port/.*
117+
ADDON_INCLUDES_EXCLUDE += libs/libwebsockets/include/win32port/win32helpers/.*
118+
ADDON_SOURCES_EXCLUDE = libs/libwebsockets/include/win32port/.*
119+
ADDON_LIBS = libs/libwebsockets/lib/iosarmv7/libwebsockets.a
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT.
2+
//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED
3+
OF_PATH = ../../..
4+
5+
//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
6+
#include "../../../libs/openFrameworksCompiled/project/ios/CoreOF.xcconfig"
7+
8+
OTHER_LDFLAGS = $(OF_CORE_LIBS)
9+
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
10+
11+
COMPRESS_PNG_FILES = NO
12+
GCC_THUMB_SUPPORT = NO
13+
IPHONEOS_DEPLOYMENT_TARGET = 3.1
14+
TARGETED_DEVICE_FAMILY = 1

example_client_ios/addons.make

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ofxLibwebsockets
17.4 KB
Loading
5.75 KB
Loading
10.7 KB
Loading
21.3 KB
Loading
10.7 KB
Loading
17.6 KB
Loading
5.75 KB
Loading

0 commit comments

Comments
 (0)