qtcreatorlibrary.pri 729 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

Eike Ziller's avatar
Eike Ziller committed
15
osx: QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/Frameworks/
16
include(rpath.pri)
con's avatar
con committed
17

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

20
TEMPLATE = lib
21 22
CONFIG += shared dll

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

25 26
!macx {
    win32 {
27
        dlltarget.path = $$INSTALL_BIN_PATH
28
        INSTALLS += dlltarget
29
    } else {
30
        target.path = $$INSTALL_LIBRARY_PATH
31
        INSTALLS += target
32
    }
33
}