36 lines
1.1 KiB
CMake
36 lines
1.1 KiB
CMake
add_library(ToolKit
|
|
Network/Buffer.h Network/Buffer.cpp
|
|
Network/BufferSock.h Network/BufferSock.cpp
|
|
Network/Server.h Network/Server.cpp
|
|
Network/Session.h Network/Session.cpp
|
|
Network/Socket.h Network/Socket.cpp
|
|
Network/sockutil.h Network/sockutil.cpp
|
|
Network/TcpClient.h Network/TcpClient.cpp
|
|
Network/TcpServer.h Network/TcpServer.cpp
|
|
|
|
Poller/EventPoller.h Poller/EventPoller.cpp
|
|
Poller/Pipe.h Poller/Pipe.cpp
|
|
Poller/PipeWrap.h Poller/PipeWrap.cpp
|
|
Poller/SelectWrap.h Poller/SelectWrap.cpp
|
|
Poller/Timer.h Poller/Timer.cpp
|
|
|
|
Thread/TaskExecutor.h Thread/TaskExecutor.cpp
|
|
Thread/WorkThreadPool.h Thread/WorkThreadPool.cpp
|
|
|
|
Util/base64.h Util/base64.cpp
|
|
Util/File.h Util/File.cpp
|
|
Util/local_time.h Util/local_time.cpp
|
|
Util/logger.h Util/logger.cpp
|
|
Util/MD5.h Util/MD5.cpp
|
|
Util/mini.h Util/mini.cpp
|
|
Util/NoticeCenter.h Util/NoticeCenter.cpp
|
|
Util/SHA1.h Util/SHA1.cpp
|
|
Util/SSLBox.h Util/SSLBox.cpp
|
|
Util/SSLUtil.h Util/SSLUtil.cpp
|
|
Util/util.h Util/util.cpp
|
|
Util/uv_errno.h Util/uv_errno.cpp
|
|
)
|
|
|
|
target_include_directories(ToolKit
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
) |