当前位置:网站首页>Getting started with vcpkg
Getting started with vcpkg
2022-04-23 18:52:00 【Brick Porter】
About VCPKG Compile and use basic methods , Other articles have made it clear . I also learned a lot according to the articles of leaders . Let's talk about my usage findings .
One 、 The library and its support library are always updated , So it usually takes a period of time to update , In order to obtain the support of the newly added Library .
Two 、 How to know which libraries it supports , see Under subdirectories ports. Each folder corresponds to a library .vcpkg install Add the name of this directory to install the corresponding library .
3、 ... and 、 Some libraries provide some options and some compilation and library features . Use this parameter :
vcpkg install Library name [ Options ]: Version options
Library name , How to check has been mentioned above , open ports Under the directory of the library vcpkg.json File to see the options it supports . Let's say curl Support brotli Format support, i.e Accept-Encoding Can support br. By default vcpkg The default compilation option can only decompress gzip Format . open ports/curl In the catalog vcpkg.json You know , see default-features Node can know , By default, the options it uses are "non-http", "ssl",features All the options it supports are listed under the node , You can know brotli Also supported, so use vcpkg install curl[brotli]:x86-windows Can be compiled to support brotli The library of . Of course, there are many options under it , You need other support to add it .
Besides , stay vs2019 or 2022 Has directly provided vcpkg Support for , If installed vcpkg In the future, there will be one more compilation option vcpkg The tab of .
If you use x86-windows-static/x64-windows-static Compiled the static library , Then pay attention to use static libraries Change to yes , Otherwise, the compilation will fail to link the library .
版权声明
本文为[Brick Porter]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210603257228.html
边栏推荐
- Keil RVMDK compiled data type
- Query the logistics update quantity according to the express order number
- Druid SQL和Security在美团点评的实践
- 解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
- ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
- K210串口通信
- From technical system to business insight, the closing chapter of the practice of small and medium-sized R & D team structure
- iptables初探
- Chondroitin sulfate in vitreous
- ESP32 LVGL8. 1 - input devices (input devices 18)
猜你喜欢

ctfshow-web362(SSTI)

One of the reasons why the WebView web page cannot be opened (and some WebView problem records encountered by myself)

Iptables - L executes slowly

Résolution: cnpm: impossible de charger le fichier... Cnpm. PS1 parce que l'exécution de scripts est désactivée sur ce système

mysql_ Download and installation of Linux version

Ctfshow - web362 (ssti)

os_authent_prefix

CANopen STM32 transplantation

Excel intercept text

ESP32 LVGL8. 1 - label (style 14)
随机推荐
ctfshow-web362(SSTI)
Simple use of viewbinding
Ctfshow - web362 (ssti)
The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an
Eight bit binary multiplier VHDL
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
CANopen STM32 transplantation
STM32: LCD display
Practice of Druid SQL and security in meituan review
玻璃体中的硫酸软骨素
Fundamentals of machine learning theory -- some terms about machine learning
MySQL学习第五弹——事务及其操作特性详解
WebView saves the last browsing location
Excel intercept text
Machine learning theory (7): kernel function kernels -- a way to help SVM realize nonlinear decision boundary
ESP32 LVGL8. 1 - label (style 14)
视频边框背景如何虚化,简单操作几步实现
RPM包管理
Introduction to micro build low code zero Foundation (lesson 3)
Feature selection feature_ selection--SelectKBest