looking for windows developer to test cmake buildsystem
Peter Kümmel
syntheticpp at gmx.net
Wed Feb 1 17:30:49 CET 2006
With this additional chages "only" link errors are left.
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (Revision 504508)
+++ CMakeLists.txt (Arbeitskopie)
@@ -10,8 +10,17 @@
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
-add_definitions(-DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN -DANSICPP)
+add_definitions(-DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DANSICPP)
+if(UNIX)
+ add_definitions(-DUNIXCONN)
+endif(UNIX)
+
+if(WIN32)
+ add_definitions(-DWIN32_LEAN_AND_MEAN -DDCOP_EXPORT="" -DSOCKCONN -DTCPCONN -FIkdelibs_global_win.h)
+ include_directories( c:/sandbox/kdelibs/kdelibs/win/include c:/sandbox/kdelibs/kdelibs/win/include/msvc)
+endif(WIN32)
More information about the Kde-buildsystem
mailing list