]>
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 | |
e969a926 | 13 | pythia6_common_block_address.F |
14 | tpythia6_called_from_cc.F | |
d538597e | 15 | pythia6214.f |
16 | pydummy.f | |
17 | pdf_alice.F | |
e969a926 | 18 | ) |
19 | ||
20 | # fill list of header files from list of source files | |
21 | # by exchanging the file extension | |
22 | String(REPLACE ".cxx" ".h" HDRS "${SRCS}") | |
23 | ||
24 | Set(SRCS ${SRCS} ${FSRCS} ${CSRCS}) | |
25 | ||
26 | AddLibrary(pythia6 "${SRCS}" "${HDRS}") | |
27 |