2019-05-20 11:22:59 +08:00
|
|
|
|
include_directories(../3rdpart)
|
|
|
|
|
file(GLOB jsoncpp_src_list ../3rdpart/jsoncpp/*.cpp ../3rdpart/jsoncpp/*.h )
|
|
|
|
|
add_library(jsoncpp STATIC ${jsoncpp_src_list})
|
|
|
|
|
|
2019-06-15 17:07:10 +08:00
|
|
|
|
|
2020-01-07 11:09:11 +08:00
|
|
|
|
file(GLOB MediaServer_src_list ./*.cpp ./*.h)
|
2019-07-20 20:53:50 +08:00
|
|
|
|
#message(STATUS ${MediaServer_src_list})
|
2019-06-15 17:07:10 +08:00
|
|
|
|
|
2019-05-20 11:22:59 +08:00
|
|
|
|
add_executable(MediaServer ${MediaServer_src_list})
|
2019-06-15 17:07:10 +08:00
|
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
|
set_target_properties(MediaServer PROPERTIES COMPILE_FLAGS ${VS_FALGS} )
|
|
|
|
|
endif()
|
|
|
|
|
|
2019-05-20 11:22:59 +08:00
|
|
|
|
target_link_libraries(MediaServer jsoncpp ${LINK_LIB_LIST})
|
|
|
|
|
|
|
|
|
|
|