<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le lun. 22 oct. 2018 à 11:56, Anatoly Belyaev <<a href="mailto:cross@cryptopro.ru">cross@cryptopro.ru</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>We use "PackageMaker" generator on MacOS.  But i don't think it
      is CPack specific tool does call strip command.  The code for
      RPATH rewrite and strip cmd is located in cmake_install.cmake. As
      i understand CPack calls make install to tmp dir and then creates
      package.</p></div></blockquote><div><br></div><div>Sorry I've just realized it was in the title of your message.</div><div>I wasn't aware that stripping was done during install.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    <p> Having different RPATH for build tree is useful. May be there is
      a way to call sign tool in the install stage? But reading the doc
      to CMake install command, doesn't help me find solution for this.
</p></div></blockquote><div><br></div><div>Yes I agree that having build rpath is useful.</div><div>I am not aware of any mechanism that enable calling some tool during CPack's install step.</div><div>Moreover I don't use MacOS at all so I don't have any experience with PackageMaker.</div><div><br></div><div>May be some Mac user may shed some more light on this.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div></div>