demos/shared/shared.pri
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 21:20:32 +0300
changeset 34 a33bf25e6f72
parent 30 5dc02b23752f
permissions -rw-r--r--
Revision: 201033 Kit: 201035

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