<font size="2"><font face="arial,helvetica,sans-serif">Hello All,<br clear="all"></font></font><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span></span><span></span><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">I have recently ported my project software tree to CMake and I am pretty happy about it. There is a last step which is proving quite elusive to me. The targets that are built in the software tree are TGZ'd for final distribution, however, CPack if run from the CMakeLists.txt file will pickup only those targets which are installed by INSTALL command. I can't change the directory structure for historical reasons. If I use INSTALL from the individual directories' CMakeLists.txt, CPack from the main CMakeLists.txt is not finding anything and generates an empty TGZ.</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">src</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|</font><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; ">- a</span></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|- b</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|- c</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|- dt</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|- proj</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> |- CMakeLists.txt (main)</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> |- build</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif">|- e</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> |- x</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> |- y</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"> |- z</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div>Akshay<br>
</div>