<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: Courier; ">Hi,</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">I've managed to get working multi-platform/-architecture meta-builds for&nbsp;Windows, Mac OS X and iOS via CMake.</span><br><span class="Apple-style-span" style="font-family: Courier; ">I get the following hierarchy shown in the XCode (4.0.2) IDE:</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">'MetaName'</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; + Sources</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; + ALL_BUILD</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; + 'ProjectName_1'</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Source Files</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Resources</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; + 'ProjectName_2'</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Source Files</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Resources</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; ...</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; + 'ProjectName_n'</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Source Files</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; &nbsp; &nbsp; + Resources</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; + Resources</span><br><span class="Apple-style-span" style="font-family: Courier; ">&nbsp; + Products</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">I don't understand why the top level '</span><span class="Apple-style-span" style="font-family: Courier; ">Sources' directory exists. A bit&nbsp;annoying, because it contains other data, like resources and CMake data&nbsp;files.</span></div><div><span class="Apple-style-span" style="font-family: Courier; ">Furthermore, what is the role of 'Resources' on that same level, project independent resources?</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">In Visual Studio (2008) the hierarchy looks more logical:</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">Solution 'MetaName'</span><br><span class="Apple-style-span" style="font-family: Courier; ">+ ALL_BUILD</span><br><span class="Apple-style-span" style="font-family: Courier; ">+ 'ProjectName_1'</span><br><span class="Apple-style-span" style="font-family: Courier; ">+ 'ProjectName_2'</span><br><span class="Apple-style-span" style="font-family: Courier; ">...</span><br><span class="Apple-style-span" style="font-family: Courier; ">+ 'ProjectName_n'</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">Is this common Xcode/CMake behavior or am I doing something wrong?</span><br><font class="Apple-style-span" color="#144fae" face="Courier"><br></font><span class="Apple-style-span" style="font-family: Courier; ">Kind Regards,</span><br><span class="Apple-style-span" style="font-family: Courier; ">Daniel Dekkers</span><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Courier"><br></font></div></div></div></div><br></body></html>