[CMake] [PATCH] simple test to test the FindXXX.cmake modules
Alexander Neundorf
a.neundorf-work at gmx.net
Sat Jun 14 16:08:43 EDT 2008
Hi,
attached you can find a patch which adds a test named FindModulesExecuteAll to
CMake/Tests/.
It include()s all FindXXX.cmake files, so they are all executed.
Right now this only ensures that the files can be executed by cmake and that
they don't fail with FATAL_ERROR if they failed and REQUIRED was not used.
It could maybe be extended to check whether variables like FOO_FOUND are
defined after the module has been executed.
What do you think ?
Is it worth committing ?
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindModulesExecuteAll.patch
Type: text/x-diff
Size: 2038 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080614/66d1e066/attachment.patch>
More information about the CMake
mailing list