GrabBag/Test/tcpclient/tcpclient_test.pro

40 lines
787 B
Prolog
Raw Permalink Normal View History

2025-10-12 16:46:46 +08:00
# TCP Client Test Project
TEMPLATE = app
TARGET = tcpclient_test
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
}
# C++14标准
CONFIG += c++14
# 源文件
SOURCES += \
tcp_client_test.cpp
# 头文件路径
INCLUDEPATH += ../../VrNets/TCPClient/Inc
# Windows平台特定配置
win32 {
LIBS += -lws2_32
}
# 目标文件输出路径
DESTDIR = ./
# Link libraries
win32:CONFIG(debug, debug|release) {
LIBS += -L../../VrNets/debug -lVrTcpClient
LIBS += -L../../VrUtils/debug -lVrUtils
} else:win32:CONFIG(release, debug|release) {
LIBS += -L../../VrNets/release -lVrTcpClient
LIBS += -L../../VrUtils/release -lVrUtils
}else:unix:!macx {
LIBS += -L../../VrNets -lVrTcpClient
LIBS += -L../../VrUtils -lVrUtils
}