mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
12 lines
259 B
CMake
12 lines
259 B
CMake
|
include_directories(include source)
|
|||
|
file(GLOB api_src_list include/*.h source/*.cpp source/*.h source/*.c)
|
|||
|
add_library(api SHARED ${api_src_list})
|
|||
|
|
|||
|
if(WIN32)
|
|||
|
add_definitions(-DMediaKitApi_EXPORTS)
|
|||
|
endif()
|
|||
|
|
|||
|
target_link_libraries(api ${LINK_LIB_LIST})
|
|||
|
|
|||
|
|