What effectively happens is, in XCode I get a project that looks like this:<div><br></div><div>/Sources</div><div>    /ALL_BUILD</div><div>    /ZERO_CHECK</div><div>    /MyApp</div><div>        /Source Files</div><div>            main.cpp</div>
<div>            file.cpp</div><div>            blah.cpp</div><div>        /Header Files</div><div>            file.h</div><div>            blah.h</div><div>    resource1</div><div>    resource2</div><div>    resource3</div>
<div>/Resources</div><div>    resource1</div><div><br></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On 23 November 2012 21:26, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What do you mean they get duplicated into the Source tree? The input<br>
is in the source tree, right?<br>
<div><div><br>
<br>
On Fri, Nov 23, 2012 at 3:49 PM, Darrell Blake &lt;<a href="mailto:darrell.blake@gmail.com" target="_blank">darrell.blake@gmail.com</a>&gt; wrote:<br>
&gt; I&#39;ve created a CMake project which adds resources to XCode similar to this:<br>
&gt;<br>
&gt; set(source_files main.cpp file.cpp blah.cpp)<br>
&gt; set(resource_files resource1 resource2 resource3)<br>
&gt; set_source_files_properties(${resource_files} PROPERTIES<br>
&gt; MACOSX_PACKAGE_LOCATION Resources)<br>
&gt; add_executable(MyApp MACOSX_BUNDLE ${source_files} ${resource_files})<br>
&gt;<br>
&gt; Everything seems to work fine but the resource files get duplicated into the<br>
&gt; &quot;Source&quot; tree as well as the &quot;Resource&quot; tree. Is there any way to stop this?<br>
&gt; I tried removing ${resource_files} from add_executable() but then it fails<br>
&gt; to find the resources at all.<br>
&gt;<br>
&gt; Darrell<br>
&gt;<br>
&gt;<br>
</div></div><span><font color="#888888">&gt; --<br>
&gt;<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</font></span></blockquote></div><br></div></div>