[CMake] source_group with XCode?
Michael Jackson
mike.jackson at bluequartz.net
Fri Dec 11 16:09:21 EST 2009
> source_group( Name\\\\SubName FILES ${source} )
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Dec 11, 2009, at 3:45 PM, Glenn Hughes wrote:
> Hi again, I'm trying to use the source_group command with XCode, and
> its marginally working, but in a flaky sorta way.
> I was wondering what other people have any tips.
>
> The behavior I'm seeing is:
> Groups in the form
>
> source_group( Name FILES ${source} )
>
> Work OK, they add a top-level group to the current target's file list
>
> source_group( Name/SubName FILES ${source} )
>
> XCode treats this as a single name, in other words I get groups named
> "Name/SubName"
>
> source_group( Name\SubName FILES ${source} )
> and
> source_group( Name\\SubName FILES ${source} )
>
> have the same behavior: The parent group name is dropped. I simply get
> groups named SubName.
>
> I guess or now I'll go with "/" in that it at least still represents
> the folder structure, and it sounds like maybe its more compatible
> with Visual Studio.
> Anything else I should try?
>
> Thanks!
> Glenn
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list