project_options icon indicating copy to clipboard operation
project_options copied to clipboard

feature request: support installing imported targets for vcpkg and conan

Open FeignClaims opened this issue 1 year ago • 0 comments

Although not universally appicable to all IMPORTED targets as #167 is trying to do, vcpkg and conan 2.4.0 already provide a way to install their IMPORTED targets:

  • vcpkg provides two options for users to easily copy ~~runtimes~~ (only) dlls to the build directory and installation directory. (learnt from this comment)

  • conan 2.4.0's CMakeToolchain generator provides a cmake variable CONAN_RUNTIME_LIB_DIRS that allows users to install runtime libraries. (see the corresponding documentation here, and this comment shows how to copy runtimes to output folder with it)

So maybe we could support them respectively? (or unify them into a general function?)

  • [ ] support installing runtimes for vcpkg #279
  • [ ] support installing runtimes for conan #281

FeignClaims avatar Jun 07 '24 03:06 FeignClaims