Skip to content

feature request: support installing imported targets for vcpkg and conan #261

Description

@FeignClaims

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions