config:配置变更。
This commit is contained in:
parent
db5ae82828
commit
a336e3808b
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ build
|
||||
cmake-*
|
||||
.xmake
|
||||
compile_commands.json
|
||||
out
|
||||
|
@ -9,7 +9,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
MESSAGE(STATUS "Add MinGW Param.")
|
||||
message(status "add mingw param.")
|
||||
add_compile_options(-finput-charset=utf-8)
|
||||
add_compile_options(-fexec-charset=gbk)
|
||||
add_compile_options(-Wa,-mbig-obj)
|
||||
@ -24,11 +24,13 @@ message(STATUS "System: ${CMAKE_SYSTEM_NAME}")
|
||||
message(STATUS "Compiler CXX ID: ${CMAKE_CXX_COMPILER_ID}")
|
||||
|
||||
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE})
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}/)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY
|
||||
${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}/
|
||||
)
|
||||
|
||||
include_directories(3rd)
|
||||
include_directories(.)
|
||||
include_directories(build)
|
||||
include_directories(${PROJECT_BINARY_DIR})
|
||||
add_subdirectory(ofen)
|
||||
add_subdirectory(net)
|
||||
add_subdirectory(util)
|
||||
|
@ -19,7 +19,6 @@ CClient::CClient(const std::shared_ptr<spdlog::logger>& logger) : logger_(logger
|
||||
supported_.push_back("Get");
|
||||
sleep_.set_timeout(5000);
|
||||
}
|
||||
|
||||
CClient::~CClient()
|
||||
{
|
||||
th_run_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user