summaryrefslogtreecommitdiffstats
path: root/demos/shared/shared.pri
blob: b5515950a0996b24e4795fae91b5f75327c408e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
!hpuxi-acc*:!hpux-acc*:LIBS += -ldemo_shared