summaryrefslogtreecommitdiffstats
path: root/demos/shared/shared.pri
blob: 1541fa72486713444eb1f222c6b3f78b6d3a668f (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) { 
	LIBS+=-L$$SHARED_FOLDER/debug
    } else {
	LIBS+=-L$$SHARED_FOLDER/release
    }
} else {
    LIBS += -L$$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