Notes |
|
(0018192)
|
Luis Ibanez
|
2009-10-22 12:09
|
|
Locate all the CMakeLists.txt files that use the INSTALL_INCLUDE_DIR variable
Condition them with a new CMake variable, to provide the alternative of copying all the headers to the top (flat) directory INSTALL_INCLUDE_DIR, instead of creating subdirectories.
grep -r INSTALL_INCLUDE_DIR * | wc
reveals 117 instances of the variable. |
|
|
(0018197)
|
Luis Ibanez
|
2009-10-22 14:05
|
|
|
|
(0018198)
|
Luis Ibanez
|
2009-10-22 14:50
|
|
Most of the Utilities subdirectories have now been flattened.
The following issues remain:
1) MetaImage: Must be done by Stephen or Julien, and must check for VTK impact
2) kwsys: Must be done by Brad, and check implications in other toolkits
3) VXL: This tree actually have duplicated filenames... |
|
|
(0018245)
|
mmr
|
2009-10-26 18:25
|
|
Using this build, I can get a library without using CMake. Just out of curiousity, should vnl be required in order to use the basic data class? Or should that dependency be removed? Instead of just using one include directory, I need three, because of the inclusion of vnl. Is VNL that intrinsic to what ITK does? |
|
|
(0018247)
|
Luis Ibanez
|
2009-10-26 21:58
|
|
Thanks for verifying that the changes move us in the right direction.
VNL is used in very fundamental places in ITK, for example, in the itkMatrix class. You may be able to build applications that make minimal use of ITK without requiring VNL, but chances are that as you get into more interesting cases of segmentation or registration, then VNL headers will be brought in.
We will give it a try at flattening the VNL tree as well.
Work in progres... |
|
|
(0018250)
|
mmr
|
2009-10-27 12:13
|
|
New news: adding in dicom reading also requires a few more include directories.
So far, the includes are:
ITK/include/InsightToolKit
ITK/include/InsightToolKit/gdcm/src
ITK/include/InsightToolKit/Utilities
ITK/include/InsightToolKit/Utilities/vxl/vcl
ITK/include/InsightToolKit/Utilities/vxl/core
As I add more, I'll put them in.
Thanks for looking into this, I appreciate it. |
|
|
(0022886)
|
Cory W Quammen
|
2010-11-05 00:02
|
|
Assumed fixed with the ITK_USE_FLAT_DIRECTORY_INSTALL CMake option. Please reopen if that is not the case. |
|