mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
build jsoncpp
This commit is contained in:
parent
787fe28f96
commit
ffd60ae7d8
3 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
set(_GEN_ARGS use_gold=false target_cpu=\\"${TARGET_CPU}\\" target_os=\\"${TARGET_OS}\\" is_component_build=false)
|
||||
set(_GEN_ARGS use_gold=false target_cpu=\\"${TARGET_CPU}\\" target_os=\\"${TARGET_OS}\\" is_component_build=false rtc_build_json=true)
|
||||
|
||||
if (MSVC OR XCODE)
|
||||
set(_GEN_ARGS ${_GEN_ARGS} is_debug=$<$<CONFIG:Debug>:true>$<$<CONFIG:Release>:false>$<$<CONFIG:RelWithDebInfo>:false>$<$<CONFIG:MinSizeRel>:false>)
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ file(GLOB_RECURSE _OBJ_EXCLUDED
|
|||
${WEBRTC_OUTPUT_DIR}/obj/third_party/protobuf/protoc/*${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/third_party/protobuf/protobuf_full/*${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/webrtc/examples/*${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/webrtc/tools/*${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/webrtc/modules/audio_coding/delay_test/utility${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/webrtc/modules/modules_tests/utility${_OBJ_EXT}
|
||||
${WEBRTC_OUTPUT_DIR}/obj/webrtc/modules/video_capture/video_capture/video_capture_external${_OBJ_EXT}
|
||||
|
|
@ -46,6 +45,9 @@ set_target_properties(webrtc PROPERTIES
|
|||
install(DIRECTORY ${WEBRTC_SOURCE_DIR}
|
||||
DESTINATION "include"
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
install(DIRECTORY "${WEBRTC_SOURCE_DIR}/../third_party/jsoncpp/source/include/"
|
||||
DESTINATION "include/third_party"
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
|
||||
#
|
||||
# Install library
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ libwebrtc_command(
|
|||
DEPENDS ${_DEPENDENCIES}
|
||||
)
|
||||
|
||||
set(_NINJA_COMMAND ninja ${NINJA_ARGS} -C ${_NINJA_BUILD_DIR} webrtc system_wrappers_default)
|
||||
set(_NINJA_COMMAND ninja ${NINJA_ARGS} -C ${_NINJA_BUILD_DIR} webrtc system_wrappers_default jsoncpp)
|
||||
|
||||
if (BUILD_TESTS)
|
||||
set(_NINJA_COMMAND ${_NINJA_COMMAND} webrtc_tests)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue