forked from acossette/pillow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.pri
42 lines (33 loc) · 1.17 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
39
40
41
42
#
# 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
}
msvc: {
PILLOWCORE_LIB_FILE = $${PILLOWCORE_LIB_NAME}.lib
} else {
win32: {
!pillow_static: PILLOWCORE_LIB_FILE = $${PILLOWCORE_LIB_NAME}.dll
pillow_static: PILLOWCORE_LIB_FILE = $${PILLOWCORE_LIB_NAME}.a
} else {
!pillow_static: PILLOWCORE_LIB_FILE = lib$${PILLOWCORE_LIB_NAME}.so
pillow_static: PILLOWCORE_LIB_FILE = lib$${PILLOWCORE_LIB_NAME}.a
}
}