mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-30 07:26:53 +08:00
306e202ca1
2.server/system下未兼容完成
18 lines
459 B
CMake
18 lines
459 B
CMake
include_directories(../3rdpart)
|
|
file(GLOB jsoncpp_src_list ../3rdpart/jsoncpp/*.cpp ../3rdpart/jsoncpp/*.h )
|
|
add_library(jsoncpp STATIC ${jsoncpp_src_list})
|
|
|
|
|
|
file(GLOB MediaServer_src_list ./*.cpp ./*.h)
|
|
#message(STATUS ${MediaServer_src_list})
|
|
|
|
add_executable(MediaServer ${MediaServer_src_list})
|
|
|
|
if(WIN32)
|
|
set_target_properties(MediaServer PROPERTIES COMPILE_FLAGS ${VS_FALGS} )
|
|
endif()
|
|
|
|
target_link_libraries(MediaServer jsoncpp ${LINK_LIB_LIST})
|
|
|
|
|