• Daniele E. Domenichelli's avatar
    CheckStructHasMember: Add support for C++ · 73d28d21
    Daniele E. Domenichelli authored
    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>])
    73d28d21
Name
Last commit
Last update
..
CMP0004 Loading commit data...
CMP0019 Loading commit data...
CMP0022 Loading commit data...
CTest Loading commit data...
CheckModules Loading commit data...
CompatibleInterface Loading commit data...
CompilerChange Loading commit data...
Configure Loading commit data...
ExportWithoutLanguage Loading commit data...
ExternalData Loading commit data...
FPHSA Loading commit data...
File_Generate Loading commit data...
GeneratorExpression Loading commit data...
GeneratorToolset Loading commit data...
IncompatibleQt Loading commit data...
Languages Loading commit data...
ObjectLibrary Loading commit data...
ObsoleteQtMacros Loading commit data...
PositionIndependentCode Loading commit data...
SolutionGlobalSections Loading commit data...
Syntax Loading commit data...
TargetPolicies Loading commit data...
TargetPropertyGeneratorExpressions Loading commit data...
VisibilityPreset Loading commit data...
add_dependencies Loading commit data...
alias_targets Loading commit data...
build_command Loading commit data...
find_package Loading commit data...
get_filename_component Loading commit data...
if Loading commit data...
include Loading commit data...
include_directories Loading commit data...
include_external_msproject Loading commit data...
list Loading commit data...
target_link_libraries Loading commit data...
try_compile Loading commit data...
variable_watch Loading commit data...
CMakeLists.txt Loading commit data...
RunCMake.cmake Loading commit data...