Pagsasanay
System package managers
C++ libraries are available in C++ package managers such as vcpkg or in system package managers such as apt. How you choose to acquire your libraries depends on your specific use case. You can also have vcpkg dependencies depend on system package manager dependencies.
- Overall deployment size will be reduced, as different programs can share the same shared libraries.
- Your program will respond to policy decisions configured on that system. For example, DNS policy tends to be implemented in glibc, or trusted certificates implemented in OpenSSL, or UI / themeing bits from UI libraries, etc.
- It's usually faster to download binaries from a system package manager than it is to build them from source.
- It will easier for development: vcpkg builds from source, meaning you will have debug information for libraries. Additionally, libraries build both release and debug versions.
- You have complete control over the versions of those dependencies. With a system package manager, you may be limited to only certain versions.
- The way you get dependencies can be the same for all platforms that you target.
Makipagtulungan sa amin sa GitHub
Ang pinagmulan para sa content na ito ay mahahanap sa GitHub, kung saan maaari ka ring lumikha at sumuri ng mga isyu at mga pull request. Para sa higit pang impormasyon, tingnan ang aming gabay sa contributor.
Feedback sa vcpkg
Ang vcpkg ay isang open source na project. Pumili ng link para magbibigay ng feedback: