I’ve use CMake with msys/mingw for a few years now, and haven’t had any
issue. I had to do some initial configuration to use the mingw gcc
utilities, but after that, only a few hitches of finding paths for
different libraries. The reason finding libraries tends to work better on
linux is because cmake knows it can check /usr/lib and /usr/local/lib and
find almost any libraries you’re after, but on windows, it’s just a guess
at where “most” people install their library. On msvc, it probably checks
c:\Program Files\Microsoft Visual Studio 10\VC\lib , and msys, it checks
your MinGW’s version of unix’s /usr/lib and /usr/local/lib
But, I think everyone will agree that nothing is written in stone about
CMake, it’s just a suggestion, and we certainly wouldn’t just switch
without a transitional period (especially because anything new is liable to
break more often).
Also, Jared, I forgot to address your concern, but there is indeed both a
GUI and command-line interface for CMake, so everything should be okay on
that front
-AlexOn Tue, Aug 14, 2012 at 9:27 AM, LM wrote:
I’ve used CMake on Linux with no issues (and that version of Linux was
using ulibc). However, every time I’ve tried to use it on Windows,
I’ve had problems. When I tried using the prebuilt executables, all
the paths where it was looking for libraries were not set
appropriately for my machine. Have tried a few times to build cmake
from source, hoping I could set up the paths properly. Have not been
able to get it to build successfully. I’m using shell scripts to
build projects, so I need cmake to work with msys sh and make. If SDL
moves to using CMake, hope it continues to provide other alternatives
for building or supplies a way to make sure CMake is working properly
on each platform. If configure/make fails, I can jury-rig the
configure and edit the make and still build executables. If Cmake
fails, I’m not aware of any easy workarounds.
If anyone has tips on getting CMake to build properly with msys and
mingw or tips on what to do when CMake fails, I’d appreciate hearing
them. Thanks.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org