ZLMediaKit/api/CMakeLists.txt

14 lines
284 B
CMake
Raw Normal View History

2019-12-17 18:45:31 +08:00
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})
2019-12-23 14:01:00 +08:00
add_subdirectory(tests)
2019-12-17 18:45:31 +08:00