msvc: makekdewidgets
Paulo Jorge Guedes
Paulo.Guedes at artelecom.pt
Mon May 15 15:11:51 CEST 2006
> -----Original Message-----
> From: Peter Kümmel [mailto:syntheticpp at gmx.net]
> Sent: segunda-feira, 15 de Maio de 2006 12:11
> To: kde-buildsystem at kde.org
> Subject: Re: msvc: makekdewidgets
> > --- FindKDEWIN32.cmake (revision 540992)
> > +++ FindKDEWIN32.cmake (working copy)
> > @@ -20,11 +20,11 @@
> >
> > # at first find the kdewin32 library, this has to be compiled and
> installed before kdelibs/
> > # search for kdewin32 in the default install directory for applications
> (default of (n)make install)
> > -if (MSVC)
> > +if (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> > set(_KDEWIN32_POSTFIX d)
> > -else (MSVC)
> > +else (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> > set(_KDEWIN32_POSTFIX )
> > -endif (MSVC)
> > +endif (MSVC AND CMAKE_BUILD_TYPE MATCHES Debug)
> >
> > FIND_LIBRARY(KDEWIN32_LIBRARY NAMES kdewin32${_KDEWIN32_POSTFIX}
> > PATHS
>
> When CMAKE_BUILD_TYPE also switches the CMAKE_DEBUG_POSTFIX macro
> then your patch looks good.
Yes, I forgot that.
> I'll test it.
Paulo
P.S.: I think the nightly build for tomorrow will have a 0 error msvc build ;)
More information about the Kde-buildsystem
mailing list