T2 Linux -> Windows cross-compile with CMake?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Therem Harth
    Knight
    • Jan 2008
    • 926

    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?
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎