summaryrefslogtreecommitdiffstats
path: root/demos/shared/shared.pri
blob: fb7b04c0be2180bf25fe7d4803eb99fa8e15cf02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
INCLUDEPATH += $$SHARED_FOLDER

build_all:!build_pass {
    CONFIG -= build_all
    CONFIG += release
}
contains(CONFIG, debug_and_release_target) {    
    CONFIG(debug, debug|release) { 
        QMAKE_LIBDIR += $$SHARED_FOLDER/debug
    } else {
        QMAKE_LIBDIR += $$SHARED_FOLDER/release
    }
} else {
    QMAKE_LIBDIR += $$SHARED_FOLDER
}

hpux-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a
hpuxi-acc*:LIBS += $$SHARED_FOLDER/libdemo_shared.a
symbian:LIBS += -ldemo_shared.lib
!hpuxi-acc*:!hpux-acc*:!symbian:LIBS += -ldemo_shared