Skip to content

Commit 79e4afc

Browse files
committed
Update addon_config.mk with libs entries for reference
1 parent f2983ce commit 79e4afc

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ cp lib/Relase/libwebsockets.a /PATH/TO/OF/addons/ofxLibwebsockets/libs/libwebsoc
191191
* Use the default location so CMake can find it easily: `C:\OpenSSL-Win64`
192192

193193
* Build libwebsockets
194-
* libwesockets' [Build Instructions](https://github.com/warmcat/libwebsockets/blob/master/README.build.md), for reference
194+
* libwebsockets' [Build Instructions](https://github.com/warmcat/libwebsockets/blob/master/README.build.md), for reference
195195
* Download [libwebsockets v1.3](https://github.com/warmcat/libwebsockets/releases/tag/v1.3-chrome37-firefox30)
196196
* Open the CMake GUI, `cmake-gui.exe`
197197
* Create a `build` folder inside the libwebsockets source folder

addon_config.mk

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,24 @@ vs:
8484
# include search paths, this will be usually parsed from the file system
8585
# but if the addon or addon libraries need special search paths they can be
8686
# specified here separated by spaces or one per line using +=
87-
ADDON_INCLUDES += libs/libwebsockets/include/win32port
88-
ADDON_INCLUDES += libs/libwebsockets/include/win32port/win32helpers
89-
9087

9188
# when parsing the file system looking for include paths exclude this for all or
9289
# a specific platform
9390
ADDON_INCLUDES_EXCLUDE
94-
ADDON_LIBS = libs/libwebsockets/lib/win32/Release/websockets.lib
95-
ADDON_LIBS += libs/libwebsockets/lib/win32/Release/zlib_internal.lib
91+
92+
# Win32/Debug
93+
# ADDON_LIBS = libs/libwebsockets/lib/vs/Win32/Debug/websockets.lib
94+
# ADDON_LIBS += libs/libwebsockets/lib/vs/Win32/Debug/zlib_internal.lib
95+
# Win32/Release
96+
# ADDON_LIBS = libs/libwebsockets/lib/vs/Win32/Release/websockets.lib
97+
# ADDON_LIBS += libs/libwebsockets/lib/vs/Win32/Release/zlib_internal.lib
98+
# x64/Debug
99+
# ADDON_LIBS = libs/libwebsockets/lib/vs/x64/Debug/websockets_static.lib
100+
# ADDON_LIBS += libs/libwebsockets/lib/vs/x64/Debug/ZLIB.lib
101+
# x64/Release
102+
# ADDON_LIBS = libs/libwebsockets/lib/vs/x64/Release/websockets_static.lib
103+
# ADDON_LIBS += libs/libwebsockets/lib/vs/x64/Release/ZLIB.lib
104+
96105

97106
linuxarmv6l:
98107
ADDON_LDFLAGS = -lssl

0 commit comments

Comments
 (0)