A bicycle shed is a building; Lincoln Cathedral is a piece of architecture. Nearly everything that encloses space on a scale sufficient for a human being to move in is a building; the term architecture applies only to buildings designed with a view to aesthetic appeal.
An Outline of European Architecture (Harmondsworth: Penguin, [1942] 1957), p. 23.