# Only necessary to compile ITKCommon with KWSys & VXL

**URL:** https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863
**Category:** Beginner Questions
**Tags:** cmake
**Created:** [February 12, 2021, 3:35pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863 "2021-02-12T15:35:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![al-sabr](https://discourse.itk.org/user_avatar/discourse.itk.org/al-sabr/32/1893_2.png) [@al-sabr](https://discourse.itk.org/u/al-sabr)
#### Post date: [February 12, 2021, 3:35pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863/1 "2021-02-12T15:35:05Z")

</div>

Greetings!

What are the settings via CMake to generate only the basic compilation for ITK right now there is a compilation error with **ITK\_BUILD\_DEFAULT\_MODULES** option.

See error compilation here : [https://github.com/commontk/CTK/issues/949#issuecomment-777074362](https://github.com/commontk/CTK/issues/949#issuecomment-777074362)

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [February 15, 2021, 8:36pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863/2 "2021-02-15T20:36:21Z")

</div>

@al-sabr as commented in the CTK issue, please investigate the difference between ITK’s CMake configuration and the CTK SuperBuild CMake configuration.

---

<div class="post-metadata">

### Author: ![al-sabr](https://discourse.itk.org/user_avatar/discourse.itk.org/al-sabr/32/1893_2.png) [@al-sabr](https://discourse.itk.org/u/al-sabr)
#### Post date: [February 15, 2021, 10:07pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863/3 "2021-02-15T22:07:33Z")

</div>

What does this mean? Can you be more detailed if you know something about the difference?

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [February 15, 2021, 10:10pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863/4 "2021-02-15T22:10:26Z")

</div>

CTK’s CMake configuration consists of [ExternalProject](https://cmake.org/cmake/help/latest/module/ExternalProject.html)’s.

---

<div class="post-metadata">

### Author: ![al-sabr](https://discourse.itk.org/user_avatar/discourse.itk.org/al-sabr/32/1893_2.png) [@al-sabr](https://discourse.itk.org/u/al-sabr)
#### Post date: [February 15, 2021, 10:14pm UTC](https://discourse.itk.org/t/only-necessary-to-compile-itkcommon-with-kwsys-vxl/3863/5 "2021-02-15T22:14:38Z")

</div>

I know this already that’s why I add ITK\_DIR to my local development path for ITK so that it doesn’t download anything from the default repo.
