# -*- mode: cmake -*- set(SRCS AliDpmJetRndm.cxx ) set(FSRCS dpmjet3.0-5.f phojet1.12-35c3.f user3.0-5.f openfile.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}) AddLibrary(dpmjet "${SRCS}" "${HDRS}")