This commit is contained in:
xiongziliang 2019-12-17 09:24:35 +08:00
parent a1e5724c70
commit ee88297d4a

View File

@ -161,6 +161,10 @@ endif()
#
file(GLOB ToolKit_src_list ${ToolKit_Root}/*/*.cpp ${ToolKit_Root}/*/*.h ${ToolKit_Root}/*/*.c)
if(IOS)
list(APPEND ToolKit_src_list ${ToolKit_Root}/Network/Socket_ios.mm)
endif()
file(GLOB MediaKit_src_list ${MediaKit_Root}/*/*.cpp ${MediaKit_Root}/*/*.h ${MediaKit_Root}/*/*.c)
#win32
@ -183,8 +187,9 @@ elseif(NOT ANDROID OR IOS)
list(APPEND LINK_LIB_LIST pthread)
endif ()
#
add_subdirectory(tests)
#
add_subdirectory(server)
if (NOT IOS)
#
add_subdirectory(tests)
#
add_subdirectory(server)
endif ()