[cmake-developers] find_package module-only policy
Brad King
brad.king at kitware.com
Mon Feb 27 10:52:41 EST 2012
On 2/25/2012 5:39 AM, Alexander Neundorf wrote:
> I updated the FindPackage_ModeWarning branch.
> It should now have everything as discussed here, please review.
Nice.
The MODULE keyword warning suggests using NO_MODULE which does not
make sense (but it does for CONFIG of course). Perhaps for MODULE
it can just warn about the min required version.
I'll perform a more detailed review after that is fixed.
> The FindPackageTest now also tries to list more or less all possible failure
> messages, the output is attached.
Thanks, that is good for manual reference. Eventually I'd like
to see a real test that verifies the output for each case. I
think the Tests/CMakeOnly directory is a good place along with
the PASS/FAIL_REGULAR_EXPRESSION test properties. We can look
at adding such tests separately after the main topic is done.
Thanks,
-Brad
More information about the cmake-developers
mailing list