Skip to content
gregsharp edited this page Nov 7, 2010 · 1 revision

Analysis of ITK use file

There are four components to the ITK use file methodology

  1. Application CMakeLists.txt: This file does FIND_PACKAGE(ITK) and includes ITK_USE_FILE
  2. FindITK.cmake: Loads ITK_DIR/ITKconfig.cmake and sets ITK_USE_FILE to UseITK.cmake
  3. ITKconfig.cmake: Created at ITK build time
  4. UseITK.cmake: Created at ITK build time

For RTK, I think we can get by with a simpler strategy

  1. Application CMakeLists.txt: This file does FIND_PACKAGE(RTK)
  2. FindRTK.cmake: Loads RTK_DIR/RTKconfig.cmake
  3. RTKconfig.cmake: Created at RTK build time
Clone this wiki locally