blob: 88c60a0da8f5021e9e50c745ae9e9ef8361f0c39 (
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
|
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
SOURCES += general.cpp \
generalhandler.cpp \
songinfo.cpp
|