[CMake] source_group with XCode?

2009-12-11 Thread Glenn Hughes
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 ad

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
source_group( NameSubName FILES ${source} ) _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Dec 11, 2009,

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
Ya, know you are right. I have another project that should have something like: MXA/Common/IO/Private and I get "Common" and "Private" as subgroups of MXA, instead of a nice hierarchy. You may have found a bug. I am running CMake 2.6.4. Don't have 2.8 yet. --- Mike Jackson

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
I just tested the same project with Visual Studio 2008 and CMake 2.6.4 and in the generated solution file I do get the correct number of sub folders generated. I would say that there may be a bug with the XCode generator or XCode may not support the feature ?!? -- Mike Jackson On Dec 11, 2

Re: [CMake] source_group with XCode?

2009-12-11 Thread Michael Jackson
Post a bug to the bug tracker. Maybe someone will get to it. -- Mike Jackson On Dec 11, 2009, at 5:26 PM, Glenn Hughes wrote: Xcode definitely supports it. I'm moving to CMake from a pure Xcode project, and we have some deeply nested folders. My guess is its a bug in the generator. I'm running