In order to facilitate the application of software measurement the gathering of software measures should be automated as far as possible by the integration of the software measurement process into the software development environment. This paper suggests to tie software measures up to the elements of a software process model. Then we present the prototypical implementation of a tool called Metrics Builder, which allows the definition of arbitrary software measures that can then be used within the software development environment.