qtcreatorlibrary.pri 686 Bytes
Newer Older
1
include($$replace(_PRO_FILE_PWD_, ([^/]+$), \\1/\\1_dependencies.pri))
2
TARGET = $$QTC_LIB_NAME
3

4 5
include(../qtcreator.pri)

6 7 8
# use precompiled header for libraries by default
isEmpty(PRECOMPILED_HEADER):PRECOMPILED_HEADER = $$PWD/shared/qtcreator_pch.h

con's avatar
con committed
9
win32 {
10
    DLLDESTDIR = $$IDE_APP_PATH
con's avatar
con committed
11 12 13 14
}

DESTDIR = $$IDE_LIBRARY_PATH

15
include(rpath.pri)
con's avatar
con committed
16

17
TARGET = $$qtLibraryName($$TARGET)
con's avatar
con committed
18

19
TEMPLATE = lib
20 21
CONFIG += shared dll

con's avatar
con committed
22
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
23

24 25
!macx {
    win32 {
26 27
        dlltarget.path = $$QTC_PREFIX/bin
        INSTALLS += dlltarget
28
    } else {
Daniel Molkentin's avatar
Daniel Molkentin committed
29
        target.path = $$QTC_PREFIX/$$IDE_LIBRARY_BASENAME/qtcreator
30
        INSTALLS += target
31
    }
32
}