Skip to content
Snippets Groups Projects
  • Raphael Isemann's avatar
    d8950f7d
    [cxxmodules] Generating private/non-ROOT modulemaps. · d8950f7d
    Raphael Isemann authored
    Right now we only generate modulemaps for the ROOT libraries which
    are exposed to the user. But we also have generate dictionary
    calls for dictionaries that are not exposed to the user and should
    only be private (such as TBench, TMathCoreUnitDict etc.).
    
    Right now we fail when compiling root on those dictionaries as we
    don't have a modulemap for those dictionaries and we don't generate
    one. This will also break tests that use the generate dictionary
    call as those also don't have a modulemap now.
    
    This patch reuses the existing CMake code for generating modulemaps
    and also uses it in those cases to provide a dictionary that
    rootcling can use to generate a C++ module.
    d8950f7d
    History
    [cxxmodules] Generating private/non-ROOT modulemaps.
    Raphael Isemann authored
    Right now we only generate modulemaps for the ROOT libraries which
    are exposed to the user. But we also have generate dictionary
    calls for dictionaries that are not exposed to the user and should
    only be private (such as TBench, TMathCoreUnitDict etc.).
    
    Right now we fail when compiling root on those dictionaries as we
    don't have a modulemap for those dictionaries and we don't generate
    one. This will also break tests that use the generate dictionary
    call as those also don't have a modulemap now.
    
    This patch reuses the existing CMake code for generating modulemaps
    and also uses it in those cases to provide a dictionary that
    rootcling can use to generate a C++ module.