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 -Brad