mpusz / mp-units

The quantities and units library for C++
https://mpusz.github.io/mp-units/
MIT License
998 stars 79 forks source link

build(cmake): replace `TestHeaders.cmake` with `CMAKE_VERIFY_INTERFACE_HEADER_SETS` #441

Closed JohelEGP closed 5 months ago

JohelEGP commented 1 year ago

See https://cmake.org/cmake/help/latest/variable/CMAKE_VERIFY_INTERFACE_HEADER_SETS.html.

mpusz commented 1 year ago

Interesting, thanks! However, I am not sure if we should require CMake 3.24 already. Maybe this will exclude some of the potential users.

I will experiment with it when I have time. Right now, I am swamped with other non-units-related work. I will probably be back only at the beginning of April, so there will be no major development from my side on mp-units for the next month 😢