WebRTC之gn及ninja编译日志

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/glw0223/article/details/102562121
  • gn 参数(macOS环境)
gaoliwen@bogon:~/work/webrtc-checkout/src$     gn gen out/Debug --args="target_os=\"mac\" target_cpu=\"x64\" rtc_use_h264=true  proprietary_codecs=true  ffmpeg_branding=\"Chrome\" use_sysroot=false  treat_warnings_as_errors=false  use_custom_libcxx=false  use_custom_libcxx_for_host=false  rtc_include_pulse_audio=false  rtc_include_tests=false  rtc_libvpx_build_vp9=false is_debug=true" --ide=xcode
Generating Xcode projects took 88ms
Done. Made 801 targets from 193 files in 952ms
  • ninja编译
gaoliwen@bogon:~/work/webrtc-checkout/src$     ninja -C out/Debug
ninja: Entering directory `out/Debug'
[3508/3508] STAMP obj/default.stamp
  • xcode打开
    在这里插入图片描述
  • 运行demo
    在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/glw0223/article/details/102562121