[Insight-developers] Module include directories and IDE

Tom Vercauteren tom.vercauteren at m4x.org
Tue Apr 26 10:43:48 EDT 2011


On Tue, Apr 26, 2011 at 16:09, Brad King <brad.king at kitware.com> wrote:
> On 03/31/2011 05:35 PM, Brad King wrote:
>> Essentially one can do:
>>
>>   add_custom_target(... SOURCES any.c sources.h)
>>
>> and the source files will be listed in the IDE but won't build in that
>> target.
>
> http://review.source.kitware.com/#change,1502

Looks nice! I haven't tested it but it seems that this will not work
with qtcreator or anything similar on linux, right? Is it necessary to
filter on the cmake generator as is done with
  if("${CMAKE_GENERATOR}" MATCHES "Xcode|Visual Studio")
?

Tom


More information about the Insight-developers mailing list