This repository has been archived by the owner on May 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
shared.pri
50 lines (45 loc) · 1.86 KB
/
shared.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
43
44
45
46
47
48
49
50
###########################################################################################
## Created using Monkey Studio v1.8.4.0 (1.8.4.0)
##
## Author : Filipe Azevedo aka Nox P@sNox <[email protected]>
## Project : qwbfs
## FileName : shared.pri
## Date : 2010-04-04T11:04:05
## License : GPL2
## Comment : Creating using Monkey Studio RAD
## Home Page : https://github.com/pasnox/qwbfsmanager
##
###########################################################################################
!contains( TEMPLATE, subdirs ) {
win32:!isEqual( $$lower( $$QMAKE_HOST.os ), "windows" ):CONFIG *= win32_crossbuild
isEmpty(build_mode):build_mode = release
CONFIG -= debug_and_release release debug warn_off warn_on x86 ppc
CONFIG *= $$build_mode warn_on
message("The whole application will be built in $$build_mode")
CONFIG(debug, debug|release) {
#Debug
CONFIG *= console
unix:TARGET = $$join(TARGET,,,_debug)
else:TARGET = $$join(TARGET,,,d)
unix:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/unix
win32:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/win32
macx:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/mac
UI_DIR = $${BUILD_PATH}/debug/ui
MOC_DIR = $${BUILD_PATH}/debug/moc
RCC_DIR = $${BUILD_PATH}/debug/rcc
} else {
#Release
unix:OBJECTS_DIR = $${BUILD_PATH}/release/obj/unix
win32:OBJECTS_DIR = $${BUILD_PATH}/release/obj/win32
macx:OBJECTS_DIR = $${BUILD_PATH}/release/obj/mac
UI_DIR = $${BUILD_PATH}/release/ui
MOC_DIR = $${BUILD_PATH}/release/moc
RCC_DIR = $${BUILD_PATH}/release/rcc
}
# Mac universal build from 10.3 to up to 10.5
macx:universal {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
CONFIG *= x86 ppc
}
}