-
Notifications
You must be signed in to change notification settings - Fork 1
/
DaoStudio.pro
executable file
·91 lines (74 loc) · 2.4 KB
/
DaoStudio.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
######################################################################
# qmake (2.00)
######################################################################
#TEMPLATE = app
CONFIG += thread release
#CONFIG += thread debug
#QT += webkit
QT += network
DEPENDPATH += . src
INCLUDEPATH += . src Dao/kernel Dao/modules/auxlib Dao/modules/serializer
INCLUDEPATH += Dao/modules/debugger Dao/modules/profiler
DEFINES += DAO_WITH_THREAD
DEFINES += DAO_WITH_NUMARRAY
DEFINES += DAO_WITH_CONCURRENT
DEFINES += DAO_WITH_DECORATOR
DEFINES += DAO_USE_CODE_STATE
DESTDIR = .
# Input
HEADERS += src/daoConsole.h \
src/daoEditor.h \
src/daoCodeSHL.h \
src/daoInterpreter.h \
src/daoDebugger.h \
src/daoMonitor.h \
src/daoStudio.h \
src/daoStudioMain.h
SOURCES += src/daoConsole.cpp \
src/daoEditor.cpp \
src/daoCodeSHL.cpp \
src/daoInterpreter.cpp \
src/daoDebugger.cpp \
src/daoMonitor.cpp \
src/daoStudio.cpp \
src/daoStudioMain.cpp
FORMS += src/daoStudio.ui \
src/daoMonitor.ui \
src/daoAbout.ui \
src/daoHelpVIM.ui
#QMAKE_CXXFLAGS += -fPIC
RESOURCES += DaoStudio.qrc
TRANSLATIONS = langs/daostudio_zh_cn.ts
DEPENDPATH += build/lib
DEPENDPATH += build/lib/dao/modules
LIBS += -Lbuild/lib -Lbuild/lib/dao/modules
LIBS += -ldao -ldao_serializer -ldao_debugger -ldao_profiler
win32 {
POST_TARGETDEPS += build/bin/dao.dll build/lib/dao/modules/dao_serializer.dll
POST_TARGETDEPS += build/lib/dao/modules/dao_debugger.dll
POST_TARGETDEPS += build/lib/dao/modules/dao_profiler.dll
RC_FILE = DaoStudio.rc
DEFINES += WIN32
#LIBS += -lwinmm -lwsock32
}
unix {
DEFINES += UNIX
LIBS += -lz -lssl -lcrypto
#QMAKE_LFLAGS += -Xlinker -rpath -Xlinker .
}
mac {
POST_TARGETDEPS += build/lib/libdao.dylib build/lib/dao/modules/libdao_serializer.dylib
POST_TARGETDEPS += build/lib/dao/modules/libdao_debugger.dylib
POST_TARGETDEPS += build/lib/dao/modules/libdao_profiler.dylib
ICON = icons/daostudio.icns
QMAKESPEC = macx-g++
DEFINES += UNIX MAC_OSX
#LIBS += -lz -lssl -lcrypto
QMAKE_LFLAGS += -Wl,-rpath,build/lib -Wl,-rpath,build/lib/dao/modules
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
} else:unix{
POST_TARGETDEPS += build/lib/libdao.so build/lib/dao/modules/libdao_serializer.so
POST_TARGETDEPS += build/lib/dao/modules/libdao_debugger.so
POST_TARGETDEPS += build/lib/dao/modules/libdao_profiler.so
QMAKE_LFLAGS += -Wl,-rpath,build/lib -Wl,-rpath,build/lib/dao/modules
}