# Configure and Generate ITK project

**URL:** https://discourse.itk.org/t/configure-and-generate-itk-project/2522
**Category:** Beginner Questions
**Created:** [December 12, 2019, 5:09pm UTC](https://discourse.itk.org/t/configure-and-generate-itk-project/2522 "2019-12-12T17:09:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![machadoL](https://discourse.itk.org/user_avatar/discourse.itk.org/machadol/32/662_2.png) [@machadoL](https://discourse.itk.org/u/machadoL)
#### Post date: [December 12, 2019, 5:09pm UTC](https://discourse.itk.org/t/configure-and-generate-itk-project/2522/1 "2019-12-12T17:09:49Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [December 12, 2019, 5:15pm UTC](https://discourse.itk.org/t/configure-and-generate-itk-project/2522/2 "2019-12-12T17:15:43Z")

</div>

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

---

<div class="post-metadata">

### Author: ![machadoL](https://discourse.itk.org/user_avatar/discourse.itk.org/machadol/32/662_2.png) [@machadoL](https://discourse.itk.org/u/machadoL)
#### Post date: [December 12, 2019, 5:25pm UTC](https://discourse.itk.org/t/configure-and-generate-itk-project/2522/3 "2019-12-12T17:25:14Z")

</div>

Great!!! Thansk!
