[CMake] source_group(): Which project is it added to?

Robert Dailey rcdailey at gmail.com
Mon Dec 1 11:42:33 EST 2008


On Tue, Nov 25, 2008 at 1:39 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> I'm having an issue right now where I'm trying to setup 2 projects in 1
> CMakeLists.txt file. Basically what I do is:
>
> project( p1 )
> add_executable()
>
> project( p2 )
> source_group()
> add_library()
>
> For project p1, the visual studio project that is output (p1.vcproj)
> contains filters created by the source_group() call several lines below it.
> Why does this happen? Only p2 should be affected by source_group() correct?
>

Bump. Can anyone explain this behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081201/d49dba6c/attachment.htm>


More information about the CMake mailing list