python-cmake / pytest-cmake

Pytest module for CMake
https://python-cmake.github.io/pytest-cmake/
MIT License
25 stars 0 forks source link

Clean up implementation #2

Closed alexreinking closed 1 year ago

alexreinking commented 1 year ago

This PR cleans up a few pieces of the implementation, without changing the interface. It sets CMake 3.20 as a minimum version, but enables policies through 3.25. It also adds missing quotes, abstains from promoting the Pytest::Pytest target to the global scope, drops some unused mark_as_advanced calls, and enables version ranges and component checking in find_package.

Fixes #1

buddly27 commented 1 year ago

These are all great updates, thanks @alexreinking !