aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpui.pro
blob: a71266e7f7acc87cc8a8d7b76eacfba504f91da6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
include(../../qmmp.pri)

TARGET = ../../lib/qmmpui
CONFIG += release \
warn_on \
qt \
thread

TEMPLATE = lib

unix : isEmpty(LIB_DIR){
        LIB_DIR = /lib
    }

unix : DEFINES += LIB_DIR=\\\"$$LIB_DIR\\\"

DEFINES += QMMP_VERSION=$$QMMP_VERSION
contains(CONFIG, SVN_VERSION){
    DEFINES += QMMP_STR_VERSION=\\\"$$QMMP_VERSION-svn\\\"
}else {
    DEFINES += QMMP_STR_VERSION=\\\"$$QMMP_VERSION\\\"
}

VERSION = $$QMMP_VERSION

target.path = $$LIB_DIR
INSTALLS += target
HEADERS += general.h \
           generalfactory.h \
           generalhandler.h \
           songinfo.h \
           control.h \
           playlistformat.h \
           playlistparser.h \
           commandlinemanager.h \
           commandlineoption.h \
           filedialog.h \
           filedialogfactory.h \
           qtfiledialog.h
SOURCES += general.cpp \
           generalhandler.cpp \
           songinfo.cpp \
           control.cpp \
           playlistparser.cpp \
           commandlinemanager.cpp \
           filedialog.cpp \
           qtfiledialog.cpp

DESTDIR = .

RESOURCES += translations/libqmmpui_locales.qrc

TRANSLATIONS = translations/libqmmpui_ru.ts \
               translations/libqmmpui_tr.ts \
               translations/libqmmpui_zh_CN.ts \
               translations/libqmmpui_cs.ts \
               translations/libqmmpui_pt_BR.ts \
               translations/libqmmpui_uk_UA.ts \
               translations/libqmmpui_zh_TW.ts \
               translations/libqmmpui_de.ts