Skip to content

No clear directions for integrating WIL into CMake projects #118

Open
@CJKay

Description

Generally speaking, CMake libraries that are intended for use elsewhere will install an exports file - usually in ${INSTALL_DIR}/cmake/<project>Config.cmake - in order to allow third party CMake projects to locate the library with find_package(<project>). WIL does not appear to provide this CMake configuration file, and so it is unclear how the user is expected to integrate it into other CMake projects, and means that CMake projects that would otherwise use find_package() to pull in their dependencies now need to provide custom logic for WIL.

Now, it appears to me that CMake is not strictly used to package the library itself, but rather to do the packaging and testing tasks. I think the library would be well served with an exported interface library target which we could then pull in much more easily.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions