How to modify the WEBRTC project (vs 2017)

Source: Internet
Author: User

I have only recently started to study webrtc deeply. If I have any questions, please leave a message.

How to generate WEBRTC vs engineering under Windows see my last article.

But when I modify the project, such as adding cc and H files, adding a third-party dependency library, you will find that the VS modification is useless. VS can only be used when a code reader and editor are available.

This time we need to understand the principle of WEBRTC construction Engineering:

1, WEBRTC through GN to build the project.

2. GN generates ninja file by reading the Gn,gni file in the current directory

3, if you want to modify the relevant works, modify the corresponding GN file can be

In summary if you want to modify the WEBRTC project, you must use GN.

GN has few domestic explanations, and GN's own help commands are the best, followed by official documentation.

1. GN Command

# GN Help//General Assistance command

To view the use of configs

# GN Help Configs

Here's a question to note: The GN command executes under the normal directory, and can only be executed on project path.

2. Official documents

This is an introduction, there is a simple example

Https://gn.googlesource.com/gn/+/master/docs/quick_start.md

This is a detailed document

Https://gn.googlesource.com/gn/+/master/docs/reference.md

There is a Chinese blog written is also very good, recommend

72627138

How to modify the WEBRTC project (vs 2017)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.