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

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


On 3/7/16, Eric Wing <ewmailing at gmail.com> wrote:
> 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
>

Well, I gave it a try. So far, it looks good.

Thanks,
Eric


More information about the CMake mailing list