[Insight-developers] Module include directories and IDE
Arnaud GELAS
arnaud_gelas at hms.harvard.edu
Thu Mar 31 16:44:43 EDT 2011
On 03/31/2011 04:38 PM, Brad King wrote:
> 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
For modules that have libraries, sources already show up in IDEs.
I am interested in showing *.h and *.txx...
A hack is to add these files in the list of files to be compiled when
building tests; but that's not very clean... Is there any other way?
Arnaud
More information about the Insight-developers
mailing list