-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathconfig.pri
38 lines (29 loc) · 1.06 KB
/
config.pri
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
#
# Configurable Pillow Features
#
# Uncomment the following to build pillow as a static lib instead of a shared libary
#CONFIG += pillow_static
# Comment/uncomment the following line to enable SSL support in Pillow.
CONFIG += pillow_ssl
# Comment/uncomment the following lines to enable Zlib support (currently for transparent decompression of gzip streams in HttpClient).
#CONFIG += pillow_zlib
#PILLOW_ZLIB_LIBS = -lz
#
# Project Setup (not configurable)
#
CONFIG -= debug_and_release
!pillow_ssl: CONFIG += pillow_no_ssl # Previous CONFIG option was 'pillow_no_ssl'.
pillow_no_ssl: DEFINES += PILLOW_NO_SSL
pillow_zlib: DEFINES += PILLOW_ZLIB
PILLOWCORE_LIB_NAME = pillowcore
CONFIG(debug, debug|release) {
TARGET = $${TARGET}d # Append a "d" suffix on debug libs.
PILLOWCORE_LIB_NAME = $${PILLOWCORE_LIB_NAME}d
}
contains(QMAKE_CC, cl) {
PILLOWCORE_LIB_FILE = $${PILLOWCORE_LIB_NAME}.lib
} else {
pillow_static: PILLOWCORE_LIB_FILE = lib$${PILLOWCORE_LIB_NAME}.a
!pillow_static: PILLOWCORE_LIB_FILE = lib$${PILLOWCORE_LIB_NAME}.so
QMAKE_CXXFLAGS += --std=c++11
}