-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibobd.pro
52 lines (42 loc) · 1.26 KB
/
libobd.pro
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
######################################################################
# Automatically generated by qmake (2.01a) Thu Feb 11 07:06:09 2010
######################################################################
TEMPLATE = lib
TARGET = obd
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += debug
HEADERS += ObdInfo.h obdlib.h ObdThread.h
SOURCES += ObdInfo.cpp obdlib.cpp ObdThread.cpp
VERSION = 1.0.0
PROJECT_NAME = libobd
win32: {
CONFIG += staticlib qt
DEFINES += WINHACK=1
target.path = c:/libs/libobd/lib
headers.path = c:/libs/libobd/include
headers.files = $$HEADERS
}
unix:CONFIG += debug qt
# create_prl
# Input
isEmpty( INSTALL_ROOT ){
INSTALL_ROOT = $$DESTDIR
}
unix {
target.path = $$INSTALL_ROOT/usr/lib
headers.files = $$HEADERS
headers.path = $$INSTALL_ROOT/usr/include
dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION} &&
dist.commands += git clone . $${PROJECT_NAME}-$${VERSION} &&
dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION}/.git &&
dist.commands += tar cjf $${PROJECT_NAME}-$${VERSION}.tar.bz2 $${PROJECT_NAME}-$${VERSION} &&
dist.commands += rm -fR $${PROJECT_NAME}-$${VERSION} &&
dist.commands += echo "make dist complete."
QMAKE_EXTRA_TARGETS += dist
}
INSTALLS += target headers
OTHER_FILES += \
ObdThread.cs
DISTFILES += \
libobd.pri