conan-vcpkg

C/C++ package manager skill covering Conan and vcpkg. Use when adding third-party library dependencies to C/C++ projects, managing binary compatibility, integrating with CMake, or choosing between Conan and vcpkg. Activates on queries about Conan, vcpkg, C++ dependency management, conanfile.txt, vcp

By mohitmishra786 · 486 installs

npx skills add mohitmishra786/low-level-dev-skills --skill conan-vcpkg

Source repository · Upstream listing

Conan and vcpkg Purpose Guide agents through C/C++ dependency management with Conan and vcpkg: declaring dependencies, integrating with CMake, managing binary compatibility, and choosing the right tool for a given project. Triggers "How do I add a C++ library dependency with Conan?" "How do I use vcpkg with CMake?" "What's the difference between Conan and vcpkg?" "How do I add zlib/openssl/fmt with a package manager?" "How do I create a vcpkg.json manifest?" "My Conan package build is failing — how do I debug it?" Workflow 1. Conan vs vcpkg decision 2. vcpkg setup 3. vcpkg manifest mode (recommended) 4. Conan setup 5. Conan with CMake (Conan 2.x) 6. Conan profiles for cross compilation 7. conanfile.py (advanced) 8. Common dependency lookup Library vcpkg name Conan name zlib zlib zlib/1.3 OpenSSL openssl openssl/3.2.0 libcurl curl libcurl/8.4.0 {fmt} fmt fmt/10.2.1 spdlog spdlog spdlog/1.12.0 Boost boost boost/1.83.0 nlohmann json nlohmann json nlohmann json/3.11.3 googletest gtest gtest/1.14.0 Google Benchmark benchmark benchmark/1.8.3 SQLite sqlite3 sqlite3/3.44.0 protobuf protobuf protobuf/4.25.1 For vcpkg baseline pinning and Conan binary cache setup, see [references/package manager patterns.md](references/package manager patterns.md). Related skills Use skills/build systems/cmake for CMake integration with both Conan and vcpkg Use skills/compilers/cross gcc for cross compilation with Conan profiles Use skills/build systems/ninja as the backend for package managed projects