OSDN Git Service

Added post link process to bring a built dll file into the execute file directory.
[dennco/dennco.git] / Source / Source.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2012-02-21T22:44:17
4 #
5 #-------------------------------------------------
6
7 QT       += core gui webkit script xml sql
8
9 TARGET = QtDennco
10 TEMPLATE = app
11
12
13 INCLUDEPATH += QtScript QtDennco platform/qt ../Thirdparty/serialport/include
14
15 SOURCES += QtDennco/mainwindow.cpp \
16     QtDennco/main.cpp \
17     TKUICell.cpp \
18     TKReceptor.cpp \
19     TKLog.cpp \
20     TKLock.cpp \
21     TKDebug.cpp \
22     TKContainer.cpp \
23     TKCellCodeInstance.cpp \
24     TKCellCode.cpp \
25     TKCell.cpp \
26     TKAxonTerminal.cpp \
27     TKAxon.cpp \
28     DNXMLElement.cpp \
29     DNXML.cpp \
30     DNUtils.cpp \
31     DNTimeKeeper.cpp \
32     DNFileList.cpp \
33     DNEngine.cpp \
34     DNDirectory.cpp \
35     DNContainerBuilder.cpp \
36     DNAlert.cpp \
37     QtScript/dnqscellbase.cpp \
38     QtScript/dnqsbasiccell.cpp \
39     QtScript/dnqscellcode.cpp \
40     QtScript/dnqscellcodeinstance.cpp \
41     QtScript/dnqscontainer.cpp \
42     platform/qt/qttklockimpl.cpp \
43     platform/qt/qtdndirectoryimpl.cpp \
44     platform/qt/qtdnalertimpl.cpp \
45     platform/qt/qtsimplehttpserverimpl.cpp \
46     platform/qt/qtdntimekeeperimpl.cpp \
47     platform/qt/qtdnxmlimpl.cpp \
48     platform/qt/QtTKConsole.cpp \
49     DNGlobal.cpp \
50     DNThread.cpp \
51     platform/qt/qtdnthreadimpl.cpp \
52     QtDennco/dnwebinterface.cpp \
53     QtScript/dnqsinputcell.cpp \
54     QtScript/dnqsoutputcell.cpp \
55     platform/qt/qtdnstorageimpl.cpp \
56     DNStorage.cpp \
57     QtScript/dnqsbasicstoragecell.cpp \
58     DNServerHTTP.cpp \
59     DNServerSerialPort.cpp \
60     DNSerialPort.cpp \
61     platform/qt/qtdnserialportimpl.cpp \
62     DNSettings.cpp \
63     platform/qt/qtdnsettingsimpl.cpp
64
65
66 HEADERS  += QtDennco/mainwindow.h \
67     TKUICell.h \
68     TKReceptor.h \
69     TKLog.h \
70     TKLockImpl.h \
71     TKLock.h \
72     TKDebug.h \
73     TKContainer.h \
74     TKConsole.h \
75     TKCellCodeInstance.h \
76     TKCellCode.h \
77     TKCell.h \
78     TKAxonTerminal.h \
79     TKAxon.h \
80     DNXMLImpl.h \
81     DNXMLElement.h \
82     DNXML.h \
83     DNUtils.h \
84     DNTimeKeeperImpl.h \
85     DNTimeKeeper.h \
86     DNFileList.h \
87     DNEngine.h \
88     DNDirectoryImpl.h \
89     DNDirectory.h \
90     DNContainerBuilder.h \
91     DNAlertImpl.h \
92     DNAlert.h \
93     dennco.h \
94     QtScript/dnqscellbase.h \
95     QtScript/dnqsbasiccell.h \
96     QtScript/dnqscellcode.h \
97     QtScript/dnqscellcodeinstance.h \
98     QtScript/dnqscontainer.h \
99     versioninfo.h \
100     platform/qt/qttklockimpl.h \
101     platform/qt/qtdndirectoryimpl.h \
102     platform/qt/qtdnalertimpl.h \
103     platform/qt/qtsimplehttpserverimpl.h \
104     platform/qt/qtdntimekeeperimpl.h \
105     platform/qt/qtdnxmlimpl.h \
106     DNGlobal.h \
107     DNThread.h \
108     DNThreadImpl.h \
109     platform/qt/qtdnthreadimpl.h \
110     QtDennco/dnwebinterface.h \
111     QtScript/dnqsinputcell.h \
112     QtScript/dnqsoutputcell.h \
113     DNStorageImpl.h \
114     DNStorage.h \
115     platform/qt/qtdnstorageimpl.h \
116     QtScript/dnqsbasicstoragecell.h \
117     DNServerHTTP.h \
118     DNServerSerialPort.h \
119     DNServerBase.h \
120     DNSerialPort.h \
121     DNSerialPortImpl.h \
122     platform/qt/qtdnserialportimpl.h \
123     DNServerHTTPImpl.h \
124     DNSettings.h \
125     DNSettingsImpl.h
126
127 FORMS    += QtDennco/mainwindow.ui
128 FORMS    += QtDennco/portinfodialog.ui
129
130 Debug:DEFINES+=DEBUG
131
132 Debug{
133     LIBS += -L"../Thirdparty/serialport/src/debug" -lSerialPort
134     win32:QMAKE_POST_LINK = "copy ..\\Thirdparty\\serialport\\src\\debug\\SerialPort.dll debug"
135     unix:QMAKE_POST_LINK = "cp ../Thirdparty/serialport/src/debug/SerialPort.so debug"
136 }
137
138 Release{
139     LIBS += -L"../Thirdparty/serialport/src/release" -lSerialPort
140     win32:QMAKE_POST_LINK = "copy ..\\Thirdparty\\serialport\\src\\release\\SerialPort.dll release"
141     unix:QMAKE_POST_LINK = "cp ../Thirdparty/serialport/src/release/SerialPort.so release"
142 }
143