Metronome settings can be entered as follows
\tempo duration = per-minute
In the MIDI output, they are interpreted as a tempo change. In the layout output, a metronome marking is printed
\tempo 8.=120 c''1
Program reference: MetronomeChangeEvent (lilypond-internals) .
This page is for LilyPond-2.5.11 (development-branch).