# -*- mode: cmake -*- set(SRCS TPHICgen.cxx AliGenTPHIC.cxx ) set(FSRCS tphic17.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(TPHIC "${SRCS}" "${HDRS}")