Metronome settings can be entered as follows:
\tempo duration = perminute
In the MIDI output, they are interpreted as a tempo change, and in the paper output, a metronome marking is printed:
\tempo 8.=120 c''1
This page is for LilyPond-2.0.0 (stable-branch).