Configure and Generate ITK project

Guys, another very beginner question.

I need to configure and generate an ITK project pointing to a specific ITK-BUILD location via command line. One of the machines I work is not running cmake-gui correctly.
Could you guys remember me that?

cmake -DITK_DIR=C:/where/you/built/itk <other options>

Great!!! Thansk!