You can set it using <div>SET(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING YES)</div><div>You might also want to enable the strip-attribute if that&#39;s what you are aiming for (STRIP_INSTALLED_PRODUCT?)</div><div>For other settings, refer to:</div>
<div><a href="http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW53">http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW53</a></div>
<div><br></div><div>/Johan</div><div><br><div class="gmail_quote">On Sun, Sep 4, 2011 at 7:48 AM, Robert Bielik <span dir="ltr">&lt;<a href="mailto:robert.bielik@xponaut.se">robert.bielik@xponaut.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I need &quot;Deployment Postprocessing&quot; checked in Release build of Xcode, to make it strip symbols from my binary (without which it doesn&#39;t).<br>
<br>
How do I set this to checked via CMake ? (using 2.8.4)<br>
<br>
TIA<br>
/Rob<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br></div>