This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
0
You've already forked CMake
Code
Issues
Pull Requests
Releases
Wiki
Activity
CMake
/
Tests
/
RunCMake
/
CheckModules
/
CheckStructHasMemberWrongKey-result.txt
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
CheckStructHasMember: Add support for C++ 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>])
2013-09-20 15:10:40 +02:00
1
Reference in New Issue
Copy Permalink