Skip to content
Snippets Groups Projects
Commit 8c215ab6 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[+] Added DAP_FEATURES param

[*] SSL support moved to be optional if DAP_FEATURES contains 'ssl'
parent 5d9566b3
No related branches found
No related tags found
1 merge request!326Release 2.9
Pipeline #7612 passed with stage
in 3 seconds
...@@ -20,7 +20,13 @@ unix: !android : ! darwin { ...@@ -20,7 +20,13 @@ unix: !android : ! darwin {
LIBS += -lrt -ljson-c -lmagic LIBS += -lrt -ljson-c -lmagic
} }
DEFINES += DAP_NET_CLIENT_NO_SSL
contains(DAP_FEATURES, ssl){
include($$PWD/../../3rdparty/wolfssl/wolfssl.pri)
}else{
DEFINES += DAP_NET_CLIENT_NO_SSL
}
darwin { darwin {
QMAKE_CFLAGS_DEBUG += -Wall -g3 -ggdb -fno-strict-aliasing QMAKE_CFLAGS_DEBUG += -Wall -g3 -ggdb -fno-strict-aliasing
DEFINES += _GNU_SOURCE DEFINES += _GNU_SOURCE
...@@ -47,9 +53,6 @@ win32 { ...@@ -47,9 +53,6 @@ win32 {
HEADERS += $$PWD/../../3rdparty/uthash/src/utlist.h \ HEADERS += $$PWD/../../3rdparty/uthash/src/utlist.h \
$$PWD/../../3rdparty/uthash/src/uthash.h $$PWD/../../3rdparty/uthash/src/uthash.h
if(DAPSDK_MODULES MATCHES "ssl-support")
include($$PWD/../../3rdparty/wolfssl/wolfssl.pri)
endif()
# Sources itself # Sources itself
HEADERS += $$PWD/include/dap_common.h \ HEADERS += $$PWD/include/dap_common.h \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment