blob: 2eae1a3d85c68bf4cf8cf9ad94afc1f57cc375bc [file] [log] [blame]
Zhenkai Zhufd52ab72012-05-29 17:34:35 -07001TEMPLATE = app
2TARGET = sync-demo
Zhenkai Zhuc5c79b62012-05-30 15:06:29 -07003HEADERS = chatdialog.h \
Zhenkai Zhu275ba3a2012-06-01 23:10:43 -07004 digesttreescene.h \
Zhenkai Zhu88380c12012-06-04 21:23:34 -07005 settingdialog.h \
6 treelayout.h
Zhenkai Zhufd52ab72012-05-29 17:34:35 -07007
8SOURCES = main.cpp \
Zhenkai Zhuc5c79b62012-05-30 15:06:29 -07009 chatdialog.cpp \
Zhenkai Zhu275ba3a2012-06-01 23:10:43 -070010 digesttreescene.cpp \
Zhenkai Zhu88380c12012-06-04 21:23:34 -070011 settingdialog.cpp \
12 treelayout.cpp
Zhenkai Zhufd52ab72012-05-29 17:34:35 -070013
Zhenkai Zhu275ba3a2012-06-01 23:10:43 -070014FORMS = chatdialog.ui \
15 settingdialog.ui
Zhenkai Zhufd52ab72012-05-29 17:34:35 -070016
Zhenkai Zhueeff9662012-05-30 17:02:49 -070017QMAKE_CXXFLAGS *= -g
18QMAKE_CFLAGS *= -g
Zhenkai Zhufd52ab72012-05-29 17:34:35 -070019
Zhenkai Zhu88380c12012-06-04 21:23:34 -070020QMAKE_LIBDIR *= /opt/local/lib /usr/local/lib /usr/lib ../build
21INCLUDEPATH *= /opt/local/include /usr/local/include ../include
22LIBS *= -lccn -lssl -lcrypto -lpthread -lprotobuf -lsync
Zhenkai Zhufd52ab72012-05-29 17:34:35 -070023CONFIG += console
24
Zhenkai Zhueeff9662012-05-30 17:02:49 -070025PROTOS = chatbuf.proto
26include (sync-demo.pri)