[CMake] CPACK: configured variables in CMake file are ignored

Paolo Ciccone phciccone at gmail.com
Tue Nov 27 14:18:16 EST 2012


I have prepared a testcase that I can use to replicate the issue all the
time.
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.

The command issued is simply:

cmake -G Xcode

You can find the test case, which is stripped down to almost nothing here:

https://dl.dropbox.com/u/3701566/cmake_cpack_test.zip

Hope this helps.

---
Paolo Ciccone
www.preta3d.com
www.paolociccone.com



On Tue, Nov 27, 2012 at 9:41 AM, Eric Noulard <eric.noulard at gmail.com>wrote:

> 2012/11/27 Paolo Ciccone <phciccone at gmail.com>:
> > Hi Eric.
> >
> >>
> >> Do you mean that inside "CPackConfig.cmake" the value you(ve set before
> >> "INCLUDE(CPack)" are not used?
> >>
> >
> > That is correct.
>
> So this is plain wrong and I don't understand how it is possible??
> We should first find to fix this before examining other issue.
>
> You should definitely find the CPACK_xxx values you(ve set
> in your CMakeLists.txt inside CPackConfig.cmake.
>
> Could you send me/us  a sample minimalistic project
> which exhibit the faulty behavior?
>
> Which version of CMake/CPack are you using?
> Could you transcript the exact command you launch when
> configuring and packaging your project?
>
>
> [...]
>
> --
> Erk
> Le gouvernement représentatif n'est pas la démocratie --
> http://www.le-message.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121127/7e4a00d8/attachment.htm>


More information about the CMake mailing list