[Tux4kids-tuxtype-dev] Native build with CMake/MinGW

Brendan Luchen cheezmeister at gmail.com
Sun May 16 20:00:12 UTC 2010


Hi all,

Finally have TuxMath building on my Windows dev computer. If anyone
else gets a chance to test the build, I'd really appreciate hearing
about any issues.

Install development files for SDL, SDL_Mixer, SDL_ttf, SDL_image
Install CMake 2.6 (I used version 2.8, but 2.6 ought to work identically)
Generate a MinGW makefile with CMake (I highly recommend using the
GUI). You may need to manually feed it the include paths for the SDL_*
headers
Open a terminal (Windows command prompt will work, MSYS should also)
cd to the build directory and run mingw32-make.exe
mingw32-make.exe install

Optionally, set CMAKE_BUILD_TYPE to Debug to avoid the install step

The changes I made to both the CMake scripts and source are pretty
extensive, so I grabbed a diff for your perusal. Keep an eye out for
any oversights--this was some messy hacking on my part. To Tim and
David in particular, let me know if any of the changes are stepping on
any feet/breaking anything. Also, I am aware how ugly the patch is.
Hope to get a Git branch rolling soon.

Best,
Brendan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tuxmath-cmake-mingw-5-16.diff
Type: application/octet-stream
Size: 32698 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20100516/4daab879/attachment-0001.obj>


More information about the Tux4kids-tuxtype-dev mailing list