Alexander Neundorf neundorf at kde.org
Tue Feb 7 21:16:32 CET 2006

SVN commit 506872 by neundorf:

-move the find_package(PCRE) from kdelibs/CMakeLists.txt to kdelibs/kjs/CMakeLists.txt
-add a check for regex.h in kjs/CMakeLists.txt and error out if neither PCRE nor regex.h have been found

build kdelibs/win independent from the rest of kdelibs/

this means
1) run cmake on kdelibs/win/
2) make kdelibs/win
3) install kdelibs/win
4) run cmake in kdelibs/ -> point it to the place where kdewin32 has been installed to
5) make kdelibs/
6) make install

Peter, can you please check that kdelibs/win/ builds and also installs this way ?
It might still be possible that somewhere stuff from kdelibs/ is included directly. 
Also eventually $ENV{MSSDK}/include might have to be added in kdelibs/win/

ConfigureChecksWin.cmake is not used anymore, we can remove it if it works this way.

Please check also that kdelibs/ configures correctly again. It is required that the include dir
of kdewin32 is set. 
If all the HAVE_FOO_PROTO checks still fail, please post the error messages from CMakeError.log


CCMAIL: kde-buildsystem at kde.org
CCMAIL: syntheticpp at gmx.net
CCMAIL: bill.hoffman at kitware.com

 M  +5 -11     CMakeLists.txt  
 M  +2 -29     ConfigureChecks.cmake  
 M  +46 -17    cmake/modules/FindKDE4.cmake  
 M  +6 -0      cmake/modules/MacroOptionalFindPackage.cmake  
 M  +7 -0      kjs/CMakeLists.txt  
 M  +29 -28    win/CMakeLists.txt  

More information about the Kde-buildsystem mailing list