-
Notifications
You must be signed in to change notification settings - Fork 145
CMake notes
gregsharp edited this page Nov 7, 2010
·
1 revision
Analysis of ITK use file
There are four components to the ITK use file methodology
- Application CMakeLists.txt: This file does FIND_PACKAGE(ITK) and includes ITK_USE_FILE
- FindITK.cmake: Loads ITK_DIR/ITKconfig.cmake and sets ITK_USE_FILE to UseITK.cmake
- ITKconfig.cmake: Created at ITK build time
- UseITK.cmake: Created at ITK build time
For RTK, I think we can get by with a simpler strategy
- Application CMakeLists.txt: This file does FIND_PACKAGE(RTK)
- FindRTK.cmake: Loads RTK_DIR/RTKconfig.cmake
- RTKconfig.cmake: Created at RTK build time