msvc: makekdewidgets

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Mon May 15 13:11:23 CEST 2006


> -----Original Message-----
> From: Peter Kümmel [mailto:syntheticpp at gmx.net]
> Sent: segunda-feira, 15 de Maio de 2006 11:47
> To: kde-buildsystem at kde.org
> Subject: Re: msvc: makekdewidgets
> 
> Paulo Jorge Guedes wrote:
> 
> >> Could you post the error message.
> >
> > The error is that it can't find kdewin32 (on the configure step of
> cmake). Looking at FindKDEWIN32.cmake it's not a great surprise because it
> tries to find the libraries with a *d.
> > What happens if you have kdewin32 built with release? It doesn't find
> them :)
> > I think this is broken as it only allows a debug build.
> 
> By default msvc produces the "d" version (when build with cmake -G"NMake
> Makefiles" ..\kdelibs\win)
> see kdelibs/win/CMakeLists:
> 
> set(CMAKE_DEBUG_POSTFIX "d")
> add_library(kdewin32 SHARED ${win_LIB_SRCS} )

Right.

> Maybe you've commented out the first line (like I did before
> the FindKDEWIN32 changes). Befeor my FindKDEWIN32 changes
> the pure svn version couldn't find kdewin32.
> Or I'm wrong?

You're right. That's why I used -DCMAKE_BUILD_TYPE=release.

Paulo


More information about the Kde-buildsystem mailing list