looking for windows developer to test cmake buildsystem

Ralf Habacker ralf.habacker at freenet.de
Wed Feb 1 20:09:15 CET 2006


Peter Kümmel schrieb:
> 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)
>   
The win/include...  directories should be added on a generic place in 
the cmake buildsystem because they are required for other directories too.
Ralf

> +endif(WIN32)
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
>   



More information about the Kde-buildsystem mailing list