[Insight-developers] Adding missing PROJECT declarations to ITK

Brad King brad.king at kitware.com
Wed Jun 10 11:36:08 EDT 2009


Hans Johnson wrote:
> The root of the problem I am trying to solve is that I can not find most 
> of the header files, and none of the txx files in the Xcode environment.
> 
>    
> 
> The itkCommand.h shows up because it is explicitly listed as a source file.

This is exactly the intended behavior of CMake.  If you want to see the
headers as part of the project, they must be listed as source files.

> I can not figure out why ITKCommon is a separate sub-section in Xcode 
> since it does not have a PROJECT listing in the CMakeList.txt file.

IIRC CMake is creating one section per target, but I'm not sure.

-Brad


More information about the Insight-developers mailing list