8000 CMake find_package needs to be tested in CI · Issue #392 · zeux/pugixml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ pugixml Public
CMake find_package needs to be tested in CI #392
Open
@zeux

Description

@zeux

v1.11 required three patches to introduce an alias for renamed pugixml::pugixml target; the alias was present in CMakeLists.txt but that doesn't propagate to the installed cmake config. The first patch worked on 3.18; the second patch worked on earlier versions, but not early enough - wasn't compatible with 3.10. The third patch fixed the problem.

We need a way to test this in CI. I was testing these locally with

cmake_minimum_required(VERSION 3.0)
project(test)
add_executable(pugitest test.cpp)
find_package(pugixml)
target_link_libraries(pugitest pugixml)

I believe the CI infra - between Travis and Appveyor - probably has a wide enough gamut of CMake versions for us to validate all of this. If someone could contribute the necessary changes that'd be fantastic...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0