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

2012-03-06 Thread Dominik Schmidt
Hey, I worked on a patch for supporting dep-tracking with GetPrequesites when cross-compiling for Windows with MinGW. While doing this I noticed neither WIN32 nor CMAKE_CROSSCOMPILING are defined at CPack time, why? This is the reason my code in the patch is not in the WIN32 block above and I

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

2012-03-06 Thread Dominik Schmidt
Hey Eric, thanks for the quick reply! On Tue, Mar 6, 2012 at 1:16 PM, Eric Noulard eric.noul...@gmail.com wrote: While doing this I noticed neither WIN32 nor CMAKE_CROSSCOMPILING are defined at CPack time, why? May be because no one did really tackle the cross-packaging problem?

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

2012-03-06 Thread Eric Noulard
2012/3/6 Dominik Schmidt do...@tomahawk-player.org: Hey Eric, thanks for the quick reply! You are welcome. This is the reason my code in the patch is not in the WIN32 block above and I couldn't guess the gp_tool correctly. In order to be sure that nothing else is breaking you can try