Rev | Line | |
---|
[1148] | 1 | #!/bin/sh
|
---|
[1140] | 2 |
|
---|
[1148] | 3 | if [ -z "$PROMC" ]
|
---|
| 4 | then
|
---|
| 5 | echo "** ERROR: PROMC variable is not set. Is ProMC installed?"
|
---|
| 6 | else
|
---|
| 7 | echo ">> PROMC is set to $PROMC"
|
---|
[1158] | 8 | echo ">> Building DelphesProMC"
|
---|
[1159] | 9 |
|
---|
[1155] | 10 | /bin/mkdir -p external/ProMC
|
---|
[1159] | 11 |
|
---|
[1155] | 12 | /bin/cp $PROMC/src/* external/ProMC/
|
---|
[1140] | 13 |
|
---|
[1155] | 14 | INC="-I$PROMC/include"
|
---|
[1140] | 15 |
|
---|
[1155] | 16 | LIB="external/ProMC/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
|
---|
[1140] | 17 |
|
---|
[1148] | 18 | g++ -I. -Iexternal $INC `root-config --cflags --ldflags --libs` -lEG -L. -lDelphes $LIB -o DelphesProMC examples/DelphesProMC.cpp
|
---|
| 19 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.