I have prepared a testcase that I can use to replicate the issue all the time. <div>I am running Mac OS 10.8.2 (ML) and I tested this case with both CMake/CPack 2.8.10.1 and 2.8.9.</div><div><br></div><div>The command issued is simply: </div>
<div><br></div><div>cmake -G Xcode</div><div><br></div><div>You can find the test case, which is stripped down to almost nothing here:</div><div><br></div><div><a href="https://dl.dropbox.com/u/3701566/cmake_cpack_test.zip">https://dl.dropbox.com/u/3701566/cmake_cpack_test.zip</a></div>
<div><br></div><div><div>Hope this helps.</div></div><div><br></div><div>---<br>Paolo Ciccone<br><a href="http://www.preta3d.com" target="_blank">www.preta3d.com</a><br><a href="http://www.paolociccone.com" target="_blank">www.paolociccone.com</a><br>
<br>
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 9:41 AM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/11/27 Paolo Ciccone <<a href="mailto:phciccone@gmail.com">phciccone@gmail.com</a>>:<br>
<div class="im">> Hi Eric.<br>
><br>
>><br>
>> Do you mean that inside "CPackConfig.cmake" the value you(ve set before<br>
>> "INCLUDE(CPack)" are not used?<br>
>><br>
><br>
> That is correct.<br>
<br>
</div>So this is plain wrong and I don't understand how it is possible??<br>
We should first find to fix this before examining other issue.<br>
<br>
You should definitely find the CPACK_xxx values you(ve set<br>
in your CMakeLists.txt inside CPackConfig.cmake.<br>
<br>
Could you send me/us a sample minimalistic project<br>
which exhibit the faulty behavior?<br>
<br>
Which version of CMake/CPack are you using?<br>
Could you transcript the exact command you launch when<br>
configuring and packaging your project?<br>
<br>
<br>
[...]<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Erk<br>
Le gouvernement représentatif n'est pas la démocratie --<br>
<a href="http://www.le-message.org" target="_blank">http://www.le-message.org</a><br>
</font></span></blockquote></div><br></div>