最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ - How can I configure CMake (with vcpkg manifest mode) to immediately reflect changes in a local dependency? - Stack Overflo

programmeradmin1浏览0评论

I'm developing a project that depends on a local library I'm actively working on. Previously, I used CMake's find_package without any package manager, which worked well—after updating the library, I simply reinstalled it and my project picked up the changes immediately.

Now I'm trying to use vcpkg in manifest mode for dependency management (for libraries like Boost and OpenSSL), but I still want my local library changes to be reflected immediately. I've looked into overlay ports, but from what I understand, overlays rely on version changes to trigger updates.

My questions are:

  1. What is the best practice for developing a project with an actively maintained local library using vcpkg manifest mode?
  2. Is there a way to have vcpkg (or CMake) automatically use the latest changes from my local library without manually bumping its version or reinstalling?

Any guidance or alternative approaches would be greatly appreciated!

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论