blob: d1161bdd4e413ff260449a6b72a2dd0a593f4d7a [file] [log] [blame]
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -07001TEMPLATE = app
2TARGET = sync-demo
Zhenkai Zhu64f9ede2012-06-05 11:32:00 -07003DEFINES += __DEBUG
Zhenkai Zhuf474a0a2012-05-30 15:06:29 -07004HEADERS = chatdialog.h \
Zhenkai Zhu85845d22012-06-01 23:10:43 -07005 digesttreescene.h \
Zhenkai Zhu21d75f92012-06-04 21:23:34 -07006 settingdialog.h \
7 treelayout.h
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -07008
9SOURCES = main.cpp \
Zhenkai Zhuf474a0a2012-05-30 15:06:29 -070010 chatdialog.cpp \
Zhenkai Zhu85845d22012-06-01 23:10:43 -070011 digesttreescene.cpp \
Zhenkai Zhu21d75f92012-06-04 21:23:34 -070012 settingdialog.cpp \
13 treelayout.cpp
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070014
Zhenkai Zhu85845d22012-06-01 23:10:43 -070015FORMS = chatdialog.ui \
16 settingdialog.ui
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070017
Zhenkai Zhu6fcdee42012-05-30 17:02:49 -070018QMAKE_CXXFLAGS *= -g
19QMAKE_CFLAGS *= -g
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070020
Zhenkai Zhu4e256e32012-06-06 16:43:01 -070021QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib sync/build
22INCLUDEPATH *= /opt/local/include /usr/local/include sync/include
Zhenkai Zhu21d75f92012-06-04 21:23:34 -070023LIBS *= -lccn -lssl -lcrypto -lpthread -lprotobuf -lsync
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070024CONFIG += console
25
Zhenkai Zhu6fcdee42012-05-30 17:02:49 -070026PROTOS = chatbuf.proto
27include (sync-demo.pri)