Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   ToME (http://angband.oook.cz/forum/forumdisplay.php?f=9)
-   -   T2 Linux -> Windows cross-compile with CMake? (http://angband.oook.cz/forum/showthread.php?t=5820)

Therem Harth December 16, 2012 17:00

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?


All times are GMT +1. The time now is 08:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.