InstallGdml¶
Geant4
Define the function install_gdml()
to install GDML geometry
description files.
- install_gdml¶
HEP
Install GDML geometry description files in
<PROJECT-NAME>_GDML_DIR
.install_gdml(LIST <file> ... [SUBDIRNAME <subdir>])
install_gdml([GLOB] [SUBDIRNAME <subdir>] [<glob-options>])
- install_gdml(LIST <file> ... [SUBDIRNAME <subdir>])¶
Install
<file> ...
in<PROJECT-NAME>_GDML_DIR
.LIST [<file> ...]
A list of files to install. Mutually-exclusive with any option assuming a generated list via _GLOBS [<file(glob)>...], specifically EXCLUDES <exclude-exp> ..., BASENAME_EXCLUDES [REGEX] <exp> ..., EXTRAS <extra file> ..., and SUBDIRS <source-subdir> ...,
- install_gdml(GLOB [SUBDIRNAME <subdir>] [<glob-options>])¶
Install recognized files found under
CMAKE_CURRENT_SOURCE_DIR
orCMAKE_CURRENT_BINARY_DIR
in<PROJECT-NAME>_GDML_DIR
.- Recognized files
*.gdml
Note
The use of
file(GLOB)
expressions in CMake build/install lists is discouraged due to its tendency to create hysteresis.BASENAME_EXCLUDES [[REGEX] <exp>] ...
Filenames matching these expressions in any searched subdirectory are excluded from installation;
file(GLOB)
expressions are permitted.
EXCLUDES [<exclude-exp> ...]
A list of paths to exclude from the list of files that would otherwise be installed. This keyword accepts files only: no wildcards or directories
EXTRAS [<extra file> ...]
Specific files to copy/install in addition to those found via
GLOB
ing—incompatible with LIST <file> ....
SUBDIRS [<source-subdir> ...]
Install files from the specified
<source-subdir> ...
; incompatible with LIST <file> ....
Common Options¶
SUBDIRNAME <dest-subdir>
Add
<dest-subdir>
to the destination path.