CMakeLists.txt 459 Bytes
Newer Older
1 2 3 4
include_directories(../3rdpart)
file(GLOB jsoncpp_src_list ../3rdpart/jsoncpp/*.cpp ../3rdpart/jsoncpp/*.h )
add_library(jsoncpp STATIC ${jsoncpp_src_list})

xiongziliang committed
5

6
file(GLOB MediaServer_src_list ./*.cpp ./*.h)
7
#message(STATUS ${MediaServer_src_list})
xiongziliang committed
8

9
add_executable(MediaServer ${MediaServer_src_list})
xiongziliang committed
10 11 12 13 14

if(WIN32)
	set_target_properties(MediaServer PROPERTIES COMPILE_FLAGS  ${VS_FALGS} )
endif()

15 16 17
target_link_libraries(MediaServer jsoncpp ${LINK_LIB_LIST})