BuildDictionary¶
Module defining the function build_dictionary()
to
generate a ROOT dictionary from a selection XML
(classes_def.xml
).
- build_dictionary¶
Generate and build a ROOT dictionary module from a selection XML file (
classes_def.xml
), optionally checking versions and checksums for selected classes.- Synopsis
build_dictionary([<name>] [<options>])
- Options
CCV_ENVIRONMENT <var>=<val>...
List of environment settings to pass to
checkClassVersion(1)
.CLASSES_DEF_XML <filepath>
The name and location of theselection XML file to be used (default:
${CMAKE_CURRENT_SOURCE_DIR}
/classes_def.xml
).CLASSES_H <filepath>
The name and location of the top-level C++header file to be read (default:
${CMAKE_CURRENT_SOURCE_DIR}
/classes.h
).COMPILE_FLAGS <flag>...
Extra compilation options.
DICTIONARY_LIBRARIES <library-dependency>...
Libraries to which to link the dictionary plugin.
DICT_NAME_VAR <var>
Variable in which to store the plugin name (useful when generated).
EXPORT_SET <export-name>
Add the library to the
<export-name>
export set.NOP
Option / argument disambiguator; no other function.
NO_CHECK_CLASS_VERSION
Do not run
checkClassVersion(1)
to verify class checksums and version numbers.NO_INSTALL
Do not install the generated plugin.
[NO_]RECURSIVE
Specify whethercheckClassVersion(1)
should check for the presence and validity of class dictionaries recursively (default determined bycheck_class_version()
).REQUIRED_DICTIONARIES <dictionary-dependency>...
Specify dictionary dependencies required to be available for successful validation.
USE_PRODUCT_NAME
Deprecated since version 2.0: use
USE_PACKAGE_NAME
instead.USE_PACKAGE_NAME
The package name will be prepended to the pluign library name, separated by
_
See also
cet_cmake_library()
,check_class_version()