]>
Commit | Line | Data |
---|---|---|
e969a926 | 1 | # -*- mode: cmake -*- |
2 | ||
3 | set(SRCS | |
4 | AliPythiaRndm.cxx | |
5 | ) | |
6 | ||
7 | set(CSRCS | |
8 | main.c | |
9 | pythia6_common_address.c | |
10 | ) | |
11 | ||
12 | set(FSRCS | |
13 | pythia6214.f | |
14 | pdf_alice.F | |
15 | pythia6_common_block_address.F | |
16 | tpythia6_called_from_cc.F | |
17 | openDecayTable.F | |
18 | pyquen1_3.F | |
19 | ) | |
20 | ||
21 | # fill list of header files from list of source files | |
22 | # by exchanging the file extension | |
23 | String(REPLACE ".cxx" ".h" HDRS "${SRCS}") | |
24 | ||
25 | Set(SRCS ${SRCS} ${FSRCS} ${CSRCS}) | |
26 | ||
27 | AddLibrary(pythia6 "${SRCS}" "${HDRS}") | |
28 |