blob: 2eae1a3d85c68bf4cf8cf9ad94afc1f57cc375bc [file] [log] [blame]
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -07001TEMPLATE = app
2TARGET = sync-demo
Zhenkai Zhuf474a0a2012-05-30 15:06:29 -07003HEADERS = chatdialog.h \
Zhenkai Zhu85845d22012-06-01 23:10:43 -07004 digesttreescene.h \
Zhenkai Zhu21d75f92012-06-04 21:23:34 -07005 settingdialog.h \
6 treelayout.h
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -07007
8SOURCES = main.cpp \
Zhenkai Zhuf474a0a2012-05-30 15:06:29 -07009 chatdialog.cpp \
Zhenkai Zhu85845d22012-06-01 23:10:43 -070010 digesttreescene.cpp \
Zhenkai Zhu21d75f92012-06-04 21:23:34 -070011 settingdialog.cpp \
12 treelayout.cpp
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070013
Zhenkai Zhu85845d22012-06-01 23:10:43 -070014FORMS = chatdialog.ui \
15 settingdialog.ui
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070016
Zhenkai Zhu6fcdee42012-05-30 17:02:49 -070017QMAKE_CXXFLAGS *= -g
18QMAKE_CFLAGS *= -g
Zhenkai Zhu6d589aa2012-05-29 17:34:35 -070019
Zhenkai Zhu21d75f92012-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 Zhu6d589aa2012-05-29 17:34:35 -070023CONFIG += console
24
Zhenkai Zhu6fcdee42012-05-30 17:02:49 -070025PROTOS = chatbuf.proto
26include (sync-demo.pri)