ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since b8e6ab1 was b8e6ab1, checked in by pavel <pavel@…>, 11 years ago |
copy ProMC files to external/ProMC
|
-
Property mode
set to
100644
|
File size:
504 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
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"
|
---|
8 | echo ">> Building DelphesProMC";
|
---|
9 |
|
---|
10 | /bin/mkdir -p external/ProMC
|
---|
11 |
|
---|
12 | /bin/cp $PROMC/src/* external/ProMC/
|
---|
13 |
|
---|
14 | INC="-I$PROMC/include"
|
---|
15 |
|
---|
16 | LIB="external/ProMC/*.cc -L$PROMC/lib -lprotoc -lprotobuf -lprotobuf-lite -lcbook -lz"
|
---|
17 |
|
---|
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.