# -*- mode: cmake -*- set(SRCS AliPythiaRndm.cxx ) set(CSRCS main.c pythia6_common_address.c ) set(FSRCS pythia6214.f pdf_alice.F pythia6_common_block_address.F tpythia6_called_from_cc.F openDecayTable.F pyquen1_3.F ) # fill list of header files from list of source files # by exchanging the file extension String(REPLACE ".cxx" ".h" HDRS "${SRCS}") Set(SRCS ${SRCS} ${FSRCS} ${CSRCS}) AddLibrary(pythia6 "${SRCS}" "${HDRS}")