cmake on windows

Emerson Clarke emerson.clarke at gmail.com
Wed Mar 1 00:18:03 CET 2006


Hi all,

Ive been attempting to get a kde4 compile started on windows and after
surfacing from the confusion i understand cmake is the best way to go about
this.

I have done the cmake bootstrap, and got the latest checkout from trunk, a
copy of zlib, pcre, and mingw.

Ive compiled kdewin32 using cmake and the mingw target becuase i couldnt get
the msvc one to work, it complained about paths (if someone wants to help me
with this id be grateful, otherwise ill continue with mingw).  So i
understand that becuase ive now used mingw for kdewin32 that i need to
continue to use that target.

Ive tried hacking the paths for zlib and pcre in cmake/modules manually but
this hadn't helped, cmake complians about the location of the libraries and
various variables being undefined.  So what id like to know is from scratch,
what i need, and where it needs to be, and what if any environment variables
i need to set.

It would also be helpful to know what cmake is looking for in a library, i.e.
libz.a or zlib.lib, zlib.dll and where these should be for any relevant
dependencies.

If thats enough to get me started and compiling i would be most grateful.

Emerson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060301/fa7b6d4b/attachment-0001.html 


More information about the Kde-buildsystem mailing list