Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > ToME

Reply
 
Thread Tools Display Modes
Old December 16, 2012, 17:00   #1
Therem Harth
Knight
 
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why compile programs yourself? (Linux) caruso Idle chatter 24 June 27, 2012 02:41
Issue with compile on Windows 7 64-bit using Visual C++ Express command line -K- Development 1 January 15, 2011 20:28
Is there a windows compile of Gumband 2.3.2 floating around? BlackFlame Variants 8 February 12, 2010 01:16
Compile z+angband on linux garu Variants 2 November 5, 2009 15:20
Wanted: Linux user to compile pre-alpha PaulBlay Development 16 April 10, 2009 19:05


All times are GMT +1. The time now is 00:34.


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