Re: [CMake] Best way to show/include CMake files in IDE

2016-03-08 Thread Bill Hoffman
On 3/8/2016 2:25 PM, David Doria wrote: add_custom_target(MyProject_HDRS SOURCES MyHeader.h MyImplementation.hpp) It sounds like David says you can do the same for your .cmake files. This is pretty awkward though - it seems like there should be more of an explicit function for this, something

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-08 Thread David Doria
On Mon, Mar 7, 2016 at 9:19 PM, Eric Wing wrote: > On 3/7/16, Eric Wing wrote: > > On 3/7/16, David Cole wrote: > >> If you include those files in the source list for a library, executable, > >> or > >> custom target, they should show

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
On 3/7/16, Eric Wing wrote: > On 3/7/16, David Cole wrote: >> If you include those files in the source list for a library, executable, >> or >> custom target, they should show up in IDE projects, and they should be >> ignored by Makefile type projects. Have

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
On 3/7/16, David Cole wrote: > If you include those files in the source list for a library, executable, or > custom target, they should show up in IDE projects, and they should be > ignored by Makefile type projects. Have you tried that? > > > David > I haven't tried it yet

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread David Cole via CMake
If you include those files in the source list for a library, executable, or custom target, they should show up in IDE projects, and they should be ignored by Makefile type projects. Have you tried that? David > On Mar 7, 2016, at 6:34 PM, Eric Wing wrote: > > I have a

[CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
I have a bunch of .cmake support files in my project that I have split off from CMakeLists.txt (using INCLUDE to combine them) to separate concerns. (Source files, application assets, script files, platform settings, codesigning, etc.) This works, but they don't show up in IDEs (Visual Studio,