changed c++ version to c++20
This commit is contained in:
40
YourChat.pro
Normal file → Executable file
40
YourChat.pro
Normal file → Executable file
@@ -1,40 +0,0 @@
|
||||
TEMPLATE = app
|
||||
CONFIG += console c++11
|
||||
CONFIG -= app_bundle
|
||||
CONFIG -= qt
|
||||
TARGET = yourchat
|
||||
|
||||
QMAKE_CC = g++-7
|
||||
QMAKE_CXX = g++-7
|
||||
QMAKE_CXXFLAGS += -std=gnu++11 -g
|
||||
|
||||
SOURCES += main.cpp \
|
||||
config.cpp \
|
||||
server.cpp \
|
||||
room.cpp \
|
||||
user.cpp \
|
||||
tools.cpp \
|
||||
base.cpp
|
||||
|
||||
DISTFILES += \
|
||||
config/chatconfig.json
|
||||
|
||||
HEADERS += \
|
||||
config.h \
|
||||
server.h \
|
||||
room.h \
|
||||
user.h \
|
||||
tools.h \
|
||||
base.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