/
addon_config.mk
45 lines (36 loc) · 1.33 KB
/
addon_config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
meta:
ADDON_NAME = ofxRabbitControl
ADDON_DESCRIPTION = addon for RabbitControl
ADDON_AUTHOR = Ingo Randolf
ADDON_TAGS = "Utilities"
ADDON_URL = https://github.com/rabbitControl/ofxRabbitControl
# using asio 1.18.1
common:
# dependencies with other addons, a list of them separated by spaces
# or use += in several lines
# ADDON_DEPENDENCIES =
# include search paths, this will be usually parsed from the file system
# but if the addon or addon libraries need special search paths they can be
# specified here separated by spaces or one per line using +=
ADDON_INCLUDES += libs/
# uncomment if compiling without ssl (not recommended)
#ADDON_DEFINES += RCP_PD_NO_SSL
# prevent boost to be used header only
ADDON_DEFINES += ASIO_STANDALONE
ADDON_DEFINES += ASIO_SEPARATE_COMPILATION
ADDON_DEFINES += _WEBSOCKETPP_CPP11_CHRONO_
ADDON_DEFINES += _WEBSOCKETPP_CPP11_THREAD_
# windows?
# ADDON_INCLUDES_EXCLUDE = libs/libwebsockets/include/win32port
# ADDON_INCLUDES_EXCLUDE += libs/libwebsockets/include/win32port/win32helpers
osx:
# OpenSSL support for OSX 10.11+
ADDON_INCLUDES += libs/openssl/include
ADDON_LIBS += libs/openssl/lib/osx/crypto.a
ADDON_LIBS += libs/openssl/lib/osx/ssl.a
linux64:
ADDON_LDFLAGS += -lcrypto
ADDON_LDFLAGS += -lssl
linux:
ADDON_LDFLAGS += -lcrypto
ADDON_LDFLAGS += -lssl