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

Eric Wing ewmailing at gmail.com
Mon Mar 7 19:47:29 EST 2016


On 3/7/16, David Cole <DLRdave at aol.com> 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 since I was wondering what the best approach was :)
Since some of my files are somewhat project oriented instead of target
oriented, I wasn't sure if putting them the library/executable targets
was best. But if it is, I'll try that.

Thanks,
Eric


More information about the CMake mailing list