forked from mardy/qtraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-config.pri
32 lines (26 loc) · 933 Bytes
/
common-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
PROJECT_NAME = qtraw
PROJECT_VERSION = 1.0
TOP_SRC_DIR = $$PWD
TOP_BUILD_DIR = $${TOP_SRC_DIR}/$(BUILD_DIR)
INSTALL_PREFIX = /usr
isEmpty(PREFIX) {
message("====")
message("==== NOTE: To override the installation path run: `qmake PREFIX=/custom/path'")
message("==== (current installation path is `$${INSTALL_PREFIX}')")
} else {
INSTALL_PREFIX = $${PREFIX}
message("====")
message("==== install prefix set to `$${INSTALL_PREFIX}'")
}
INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib
# default library directory can be overriden by defining LIBDIR when
# running qmake
isEmpty(LIBDIR) {
message("====")
message("==== NOTE: To override the library installation path run: `qmake LIBDIR=/custom/path'")
message("==== (current installation path is `$${INSTALL_LIBDIR}')")
} else {
INSTALL_LIBDIR = $${LIBDIR}
message("====")
message("==== library install path set to `$${INSTALL_LIBDIR}'")
}