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