<div dir="ltr">Hi Folks, <div><br></div><div>As far as I remember, there is an issue with the "install(CODE | SCRIPT ..." that prevent it from being executed last. As a workaround, something like this could be done: <a href="https://github.com/Slicer/Slicer/blob/32979bf79bc2db503bbbe4b29082d5dd97411ebb/CMake/SlicerCPack.cmake#L61-66">https://github.com/Slicer/Slicer/blob/32979bf79bc2db503bbbe4b29082d5dd97411ebb/CMake/SlicerCPack.cmake#L61-66</a></div>
<div><br></div><div style>See <a href="http://cmake.org/Bug/view.php?id=6618">http://cmake.org/Bug/view.php?id=6618</a></div><div style><br></div><div style>Hth</div><div style>Jc</div></div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Apr 23, 2013 at 11:34 AM, Brian Milco <span dir="ltr"><<a href="mailto:bcmilco@gmail.com" target="_blank">bcmilco@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Tue, Apr 23, 2013 at 7:26 AM, Clinton Stimpson <span dir="ltr"><<a href="mailto:clinton@elemtech.com" target="_blank">clinton@elemtech.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
As a cmake module, it could be used at packaging<br>
time by having a install(CODE ...) in the CMakeLists.txt file.<br></blockquote><div><br></div></div><div>Where would you call the install(CODE ...)? I wrote a shell script to do the signing first, and I tried to use install(CODE ...) as the last line before packaging and I usually ended up with an .app that was modified after it was signed. Which is another reason I decide to added it directly to the code.</div>
<div><br></div></div></div><div class="gmail_extra"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
and the new cpack generator be a class derived from cmCPackGenerator. <br></blockquote><div><br></div></div><div>Okay.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">
-Brian</div></font></span></div>
<br>--<br>
<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/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/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/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>