4 # Script to generate LinkDef file from a list of classes.
6 # Usage: GenerateLinkDef.sh [CLASS ...]
8 # Author: Christian Holm Christensen <cholm@nbi.dk>
11 # --- Help message ---------------------------------------------------
15 Usage: [OPTIONS] $0 [CLASS ...]
19 -S,--no-evolution Do not enable schema evolution
20 -C,--custom-streamer Use custom streamers
24 # --- Default options ------------------------------------------------
28 # --- Process options ------------------------------------------------
29 while test $# -gt 0 ; do
31 -h|--help) usage ; exit 0 ;;
32 -S|--no-evolution) schema="" ;;
33 -C|--custom-streamer) custom="-" ;;
39 # --- Header ---------------------------------------------------------
41 // Auto generated file - do not edit
43 # error Not for compilation
45 #pragma link off all globals;
46 #pragma link off all classes;
47 #pragma link off all functions;
51 # --- Link definitions -----------------------------------------------
52 while test $# -gt 0 ; do
53 echo "#pragma link C++ class ${1}${schema}${custom};"
57 # --- Trailer --------------------------------------------------------