aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/qmmpui.pro
blob: 79f1d285b257b24a5399ecad6617e23942b2f2bf (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
include(../../qmmp.pri)

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

TEMPLATE = lib


isEmpty(LIB_DIR){
    LIB_DIR = /lib
}

unix {
    LINE1 = $$sprintf(echo \"%1ifndef CONFIG_H\" > ./config.h, $$LITERAL_HASH)
    LINE2 = $$sprintf(echo \"%1define CONFIG_H\" >> ./config.h, $$LITERAL_HASH)
    LINE3 = $$sprintf(echo \"%1define LIB_DIR \\\"%2\\\"\" >> ./config.h, $$LITERAL_HASH, $$LIB_DIR)
    LINE4 = $$sprintf(echo \"%1endif\" >> ./config.h, $$LITERAL_HASH)
    system($$LINE1)
    system($$LINE2)
    system($$LINE3)
    system($$LINE4)
    QMAKE_CLEAN = ./config.h
}


target.path = $$LIB_DIR
INSTALLS += target
HEADERS += general.h \
generalfactory.h \
 generalhandler.h \
 songinfo.h \
 control.h
SOURCES += general.cpp \
 generalhandler.cpp \
 songinfo.cpp \
 control.cpp