# -*- mode: cmake -*- set(SRCS QPYTHIA/AliQPythiaWrapper.cxx QPYTHIA/AliQPythiaRndm.cxx ) set(CSRCS QPYTHIA/main.c QPYTHIA/pythia6_common_address.c ) set(FSRCS QPYTHIA/pythia6_common_block_address.F QPYTHIA/pythia6_called_from_cc.F QPYTHIA/pythia-6.4.14.f QPYTHIA/pyquen1_5.F QPYTHIA/q-pyshow.1.0.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(qpythia "${SRCS}" "${HDRS}")