looking for windows developer to test cmake buildsystem

Peter Kümmel syntheticpp at gmx.net
Wed Feb 1 15:30:40 CET 2006


here some small patches:

typo error + search path:

Index: cmake/modules/FindKDE4.cmake
===================================================================
--- cmake/modules/FindKDE4.cmake	(Revision 504508)
+++ cmake/modules/FindKDE4.cmake	(Arbeitskopie)
@@ -53,11 +53,13 @@
 ENDIF(MINGW)

 IF(MSVC)
-   FIND_LIBRARY(KDE4_KDEWIN32_LIBRARY NAMES kdewin32)
+   FIND_LIBRARY(KDE4_WIN32_LIBRARY NAMES kdewin32
+     PATHS
+   	 $(CMAKE_SOURCE_DIR)/win )
    IF (NOT KDE4_WIN32_LIBRARY)
       MESSAGE(FATAL_ERROR "Could not find kdewin32 library, make sure to build and install kdelibs/win/ first" )
    ENDIF (NOT KDE4_WIN32_LIBRARY)
-   SET(QT_AND_KDECORE_LIBS ${QT_AND_KDECORE_LIBS} ${KDE4_KDEWIN32_LIBRARY})
+   SET(QT_AND_KDECORE_LIBS ${QT_AND_KDECORE_LIBS} ${KDE4_WIN32_LIBRARY})
 ENDIF(MSVC)



missing include path:

Index: win/CMakeLists.txt
===================================================================
--- win/CMakeLists.txt	(Revision 504508)
+++ win/CMakeLists.txt	(Arbeitskopie)
@@ -11,7 +11,7 @@


 include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include )
-include_directories(${QT_INCLUDES})
+include_directories(${QT_INCLUDES} ${CMAKE_SOURCE_DIR}/.. )



the dcop makefile should not define  UNIXCONN but instead SOCKCONN and TCPCONN,
see pro file in kdelibs\win\pro_files\dcop\KDE-ICE\.

It should also not compile as shared library.


It is necessary all the disable some forward declaration in config.h:

/*
#if !defined(HAVE_GETHOSTNAME_PROTO)
#ifdef __cplusplus
.
.
.
#ifndef HAVE_S_ISSOCK
#define HAVE_S_ISSOCK
#define S_ISSOCK(mode) (1==0)
#endif
*/

But all above does not help, dcop still not compiles.

I think I've not managed the strange include acrobatic.

Peter





















More information about the Kde-buildsystem mailing list