Initial submit
This commit is contained in:
30
YourChat.pro
30
YourChat.pro
@@ -2,5 +2,33 @@ TEMPLATE = app
|
||||
CONFIG += console c++11
|
||||
CONFIG -= app_bundle
|
||||
CONFIG -= qt
|
||||
TARGET = yourchat
|
||||
|
||||
SOURCES += main.cpp
|
||||
SOURCES += main.cpp \
|
||||
config.cpp \
|
||||
server.cpp \
|
||||
room.cpp \
|
||||
user.cpp \
|
||||
tools.cpp
|
||||
|
||||
DISTFILES += \
|
||||
config/chatconfig.json
|
||||
|
||||
HEADERS += \
|
||||
config.h \
|
||||
server.h \
|
||||
room.h \
|
||||
user.h \
|
||||
tools.h
|
||||
|
||||
LIBS += -ljsoncpp \
|
||||
-lpthread
|
||||
|
||||
bin.path = /opt/yourchat
|
||||
bin.files += yourchat
|
||||
|
||||
config.path = /etc/yourpart
|
||||
config.files += config/chatconfig.json
|
||||
|
||||
INSTALLS += bin \
|
||||
config
|
||||
|
||||
Reference in New Issue
Block a user