Compare commits
6 Commits
main
...
yangyuyuan
Author | SHA1 | Date |
---|---|---|
|
d132461fab | 1 month ago |
|
80afcd05b8 | 1 month ago |
|
fd7d04b65b | 1 month ago |
|
b5a866474c | 2 months ago |
|
4b2fafbc15 | 2 months ago |
|
4f2f812bd8 | 2 months ago |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.6)
|
||||
project(kernel)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android")
|
||||
set(IOSERVICE_FILE IOService_linux.cc)
|
||||
elseif (UNIX)
|
||||
set(IOSERVICE_FILE IOService_thread.cc)
|
||||
else ()
|
||||
message(FATAL_ERROR "IOService unsupported.")
|
||||
endif ()
|
||||
|
||||
set(SRC
|
||||
${IOSERVICE_FILE}
|
||||
mpoller.c
|
||||
poller.c
|
||||
rbtree.c
|
||||
msgqueue.c
|
||||
thrdpool.c
|
||||
CommRequest.cc
|
||||
CommScheduler.cc
|
||||
Communicator.cc
|
||||
Executor.cc
|
||||
SubTask.cc
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME} OBJECT ${SRC})
|
||||
|
Loading…
Reference in new issue