[cmake-developers] CPack: GetPrerequisites: cross-compiling from Linux to Windows

Dominik Schmidt domme at tomahawk-player.org
Tue Mar 6 09:41:36 EST 2012


Hi

On Tue, Mar 6, 2012 at 2:27 PM, Eric Noulard <eric.noulard at gmail.com> wrote:

> It is even necessary for more than "just testing" because the
> CPackConfig.cmake file may be
> overwritten by CPack next time you change your CMakeLists.txt.
>
> CPackConfig.cmake is "generated" by the
> include(CPack)
> in your CMakeLists.txt.
>
> Ultimately it may be useful to "configure_file" your
> CPackProjectConfig.cmake.[in]
> and put some generated logic in it depending on any CMake variable.
>

So the next step would be to configure e.g. CPACK_CROSSPACKAGING and
CPACK_WIN32 in my project config file  and try to make GetPrerequisites
work with them?

If you manage to do that kind of cross-packaging it could be worth a
> page on the Wiki.
>

Sure, can add it when's its time to ;)

Best regards,
Dominik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120306/c3639f1e/attachment.html>


More information about the cmake-developers mailing list