summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckModules
Commit message (Collapse)AuthorAgeFilesLines
* CheckTypeSize: Add unit test to cover the no-C caseDaniele E. Domenichelli2014-03-172-0/+6
|
* Tests: Speed up RunCMake.CheckModules testBrad King2014-02-063-1/+5
| | | | | | Enable the C and CXX languages only in the test cases that really need them. In the failure cases we do not get far enough to really use the languages, so skip enabling them.
* CheckTypeSize: Add unit testsDaniele E. Domenichelli2013-10-2114-0/+64
|
* CheckStructHasMember: Add support for C++Daniele E. Domenichelli2013-10-0818-0/+72
Previously if headers required to check if a struct has a member can be compiled with C++ compiler only, the check would fail because the C compiler fails. As a consequence, the result variable would be set to false, even if the struct has that particular member. Teach CHECK_STRUCT_HAS_MEMBER to accept a new optional argument LANGUAGE that allows one to explicitly set the compiler to use. The new signature is therefore: CHECK_STRUCT_HAS_MEMBER (<struct> <member> <header> <variable> [LANGUAGE <language>])