A unified approach to compact symmetric spaces of rank one