Re: [CMake] Interface targets with their own project in Visual Studio

2016-07-28 Thread Dvir Yitzchaki
: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Dailey Sent: Thursday, July 28, 2016 7:05 PM To: CMake <cmake@cmake.org> Subject: Re: [CMake] Interface targets with their own project in Visual Studio On Tue, Jul 19, 2016 at 9:38 AM, Robert Dailey <rcdailey.li...@gmail.com> wr

Re: [CMake] Interface targets with their own project in Visual Studio

2016-07-28 Thread Robert Dailey
On Tue, Jul 19, 2016 at 9:38 AM, Robert Dailey wrote: > Hello, > > I'd like to define an INTERFACE library that has header files only but > still generates its own project in Visual Studio. The only way to add > headers to an interface target that I'm aware of is >

[CMake] Interface targets with their own project in Visual Studio

2016-07-19 Thread Robert Dailey
Hello, I'd like to define an INTERFACE library that has header files only but still generates its own project in Visual Studio. The only way to add headers to an interface target that I'm aware of is target_source_files(), which instead of creating a project it will cause the header files