View Single Post
Old December 16, 2012, 17:00   #1
Therem Harth
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
T2 Linux -> Windows cross-compile with CMake?

Since making cross-platform stuff compile on Windows is a pain, I'm looking at cross-compiling from Linux. But every time I Google around for instructions on cross-compiling with CMake, my eyes start to glaze over...

- How do I even tell CMake to compile for Win32?

- How would I tell it to link statically against SDL and jansson, and hopefully build them into the final binary?

- What would I need to cross-compile the native Win32 version on Linux? I know it's possible to do that for pure Win32 programs, how is it done?
Therem Harth is offline   Reply With Quote