[Insight-developers] Module include directories and IDE

Brad King brad.king at kitware.com
Thu Mar 31 16:38:57 EDT 2011


On 03/31/2011 04:29 PM, Arnaud GELAS wrote:
> Hi all,
> 
> Is there a way in CMake to show the include directory for each Modules 
> in one's IDE? with corresponding *.h and *.txx?
> 
> Adding a CMakeLists in each include directory and add_subdirectories 
> command can make these directories appear, but that may not be the best 
> way to go?

For modules that have libraries it is possible to list the sources in
them.  Then CMake will mention the files in the IDE project files and
it will be possible to open them.  However, what do we do for modules
that have no targets?

-Brad


More information about the Insight-developers mailing list