<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-11-18 13:35 GMT+01:00  <span dir="ltr"><<a href="mailto:ycollette.nospam@free.fr" target="_blank">ycollette.nospam@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I would like to know if it's possible to use cpack on an install directory (without CMakeLists.txt file).<br>
I've got a "complicated" build:<br>
- one build in 64 bits<br>
- one build in 32 bits<br>
- one with license check<br>
- one without<br>
<br>
Every thing is installed in an install directory (64 bits files went to bin/x64 and 32 bits files into bin/x32).<br>
I wante to use cpack by configuring a CPackConfig.cmake file but it's no clear which variable I must fill to be able to pack my install directory).<br>
<br>
For example: SET(CPACK_INSTALL_CMAKE_<wbr>PROJECTS "/Users/jenkins/workspace/<wbr>MyBuild/build;MyProject;ALL;/"<wbr>)<br>
I don't think this variable is required if I use cpack on a non cmake directory ...<br></blockquote><div><br></div><div><br></div><div>Yep you are right. When you barely want to package a (set of) directory</div><div>I think you should try to set:</div><div><br></div><div>CPACK_INSTALLED_DIRECTORIES</div><div>which</div><div>should contain (list of) pairs of <directory> and <subdirectory>. The <subdirectory> can be '.' to be installed in the toplevel directory of installation.</div><div><br></div><div>there is almost no documentation about this but this is used for "package_source" by cpack.itself.</div><div>see the any " CPackSourceConfig.cmake" generated for a CMakeified project using CPack.</div><div><br></div><div><br></div><div><br></div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div>
</div></div>