What's New in Visual Studio for C++ DevelopersC++ (MSVC) Compiler & Libraries Our agenda today • by simplifying acquisition in C++ via vcpkg • by improving the Visual Studio IDE • by continuing to enhance the C++ experience for Visual code editor Runs on Windows, macOS, and Linux C++ IntelliSense, debug & code browsing CMake, vcpkg and git integrations SSH/container/WSL remote experiences and much, much more... ## 10 Years of overcame them  ## vcpkg for professional C++ development ## Manifests Express your dependencies declaratively and lock them0 码力 | 46 页 | 4.07 MB | 1 年前3
What's New in Visual Studio 2022C++ (MSVC) Compiler & Libraries Our agenda today 3. by simplifying acquisition in C++ via vcpkg 4. by improving the Visual Studio IDE 5. by continuing to enhance the C++ experience for Visual code editor Runs on Windows, macOS, and Linux C++ IntelliSense, debug & code browsing CMake, vcpkg and git integrations SSH/container/WSL remote experiences and much, much more... ## V isual Studio ;ecel>## Simplify C++ dependency management with vcpkg Open-source package manager for Windows, Linux, and macOS 2200+ popular open-source libraries available 0 码力 | 55 页 | 3.27 MB | 1 年前3
A New Decade of Visual Studio: C++20, Open STL and More(MSVC) Compiler & Libraries ## Our agenda today 3. by simplifying C++ library acquisition via vcpkg 4. by improving the Visual Studio IDE 5. by continuing to enhance the C++ extension for Visual Studio code editor Runs on Windows, macOS, and Linux C++ IntelliSense, debugging, code browsing CMake, vcpkg and git integrations Remote experiences and more... ## V isual Studio Agenda 1. Conformance 2 dependency management with vcpkg Open source library manager for Windows, Linux, and macOS find package(OpenCV REQUIRED) Install package 'OpenCV' using vcpkg Copy vcpkg command to install 'OpenCV'0 码力 | 37 页 | 2.67 MB | 1 年前3
CROSS PLATFORM PITFALLS AND HOW TO AVOID THEMNuGet) Language specific package managers (e.g. vcpkg, Conan) Our recommendation for C++ cross-platform development ## C++ package managers: Conan, vcpkg Bring down and build libraries from source on managers: Conan, vcpkg Bring down and build libraries from source on Windows, Linux, and macOS Transitive dependencies fetched and resolved automatically ## C++ package managers: Conan, vcpkg Bring down resolved automatically Acquire prebuilt binaries or cache binaries ## C++ package managers: Conan, vcpkg Bring down and build libraries from source on Windows, Linux, and macOS Transitive dependencies0 码力 | 67 页 | 360.44 KB | 1 年前3
whats new in visual studioMicrosoft Visual C++ (MSVC) Compiler & Libraries 3. by simplifying acquisition in C++ via vcpkg 4. by improving the Visual Studio IDE 5. by continuing to enhance the C++ experience for Visual code editor Runs on Windows, macOS, and Linux C++ IntelliSense, debug & code browsing CMake, vcpkg and git integrations SSH/container/WSL remote experiences ## V isual Studio  Next: Upgrade to future minor releases of the MSVC toolset at your own pace ? Side-by-side0 码力 | 42 页 | 19.02 MB | 1 年前3
Cetting Started with C++Libraries ## Finding Libraries Installing a package manager vcpkg Go Deeper vcpkg on Microsoft Learn - https://learn.microsoft.com/vcpkg  Linux/macOS: source <(wget -0 - https://aka.ms/vcpkg-init.sh) Now bundled with Visual Studio C++ workloads https://github.com/Microsoft/vcpkg Installing a package [Image](/uploads/documents/d/8/c/a/d8cab3cbc32f88e7676019e359520730/p65_1.jpg) vcpkg searchhttps://vcpkg.io/en/packages  • >.\vcpkg integrate install • >.\vcpkg install fmt:x64-windows • > cd .. • > cmake -B build -DCMAKE_TOOLCHAIN_FILE="%CD%/vcpkg/scripts/buildsystems/vcpkg.cmake" ## 上一课的案例代码:基于标准库0 码力 | 116 页 | 15.85 MB | 2 年前3
10 Problems Large Companies Have with Managing C++ Dependencies and How to Solve ThemDependencies and How to Solve Them ## AUGUSTIN POPA Introduction Augustin Popa Senior Product Manager, vcpkg Microsoft C++ Team @augustin_popa on Twitter/X  - 刚刚说了有些懒惰第三方库,比如 Jemaalloc,他不提供 Config 文件,需要我们自己手写(或抄别人开源项目里的)个 Find 文件,用起来很不方便。但是 vcpkg 会为所有第三方库,即使是懒惰的 Jemaalloc,都配备一个 Config 文件方便你 find_package 导入。所以用 vcpkg 时,尽量用 CMake 自带的 Find 文件误导找到别的地方(而非 vcpkg 安装的那个)的库。 - 另外注意 vcpkg 需要的 CMAKE_TOOLCHAIN_FILE 如果你用 set 设置,必须在 project 命令前面,并且修改这个变量后要删除 build 目录重新 cmake -B build 一遍才能生效(否则会在旧的环境里找,找不到 vcpkg 装的库)。 ## 科普:语义版本号(semantic0 码力 | 56 页 | 6.87 MB | 2 年前3
共 23 条
- 1
- 2
- 3













