<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sadly, my experience with cmake is that it's horrible for
cross-compiling, which is why I refuse to use it for any of my own
projects.<br>
<br>
I have successfully compiled PhysFS for windows, and I can recommend
to just hack your custom Makefile. Add all source files as object
files, maybe try to guess or steal the -llinkedlibrary flags from a
cmake run from a native linux box, and then just compile it using
your own Makefile for things.<br>
<br>
I had to do the same when cross-compiling Box2D because again,
cmake. Gladly, SDL still maintains autoconf..<br>
<br>
<div class="moz-cite-prefix">On 06/13/2015 12:05 PM, Pauli Jokela
wrote:<br>
</div>
<blockquote cite="mid:etPan.557c0074.41c08bc9.16a@Pauli-iMac.local"
type="cite">
<style>body{font-family:Helvetica,Arial;font-size:13px}</style>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’ve tried for
several days/weeks now to compile PhysFS on a Linux box, with
MinGW, to product both 32- and 64-bit Windows builds.</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">So far I
haven’t succeeded. At all.</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
</div>
<div id="bloop_customfont"
style="font-family:Helvetica,Arial;font-size:13px; color:
rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Could someone
either provide me with CMake files for MinGW, or point me in the
right direction? Compiling with MinGW under Windows is not an
option, as this has to be done on a Linux system.</div>
<div class="bloop_container">
<div class="bloop_frame"> </div>
</div>
<br>
<div id="bloop_sign_1434189832510479872" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
Pauli Jokela, Didstopia</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
physfs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:physfs@icculus.org">physfs@icculus.org</a>
<a class="moz-txt-link-freetext" href="http://icculus.org/mailman/listinfo/physfs">http://icculus.org/mailman/listinfo/physfs</a>
</pre>
</blockquote>
<br>
</body>
</html>