

set(ksudoku_SRCS
	config.cpp
	ksudoku.cpp
	ksudokugame.cpp
	serializer.cpp
	history.cpp
	symbols.cpp
	gamevariants.cpp
	welcomescreen.cpp
)

INCLUDE_DIRECTORIES( views ksudoku_export)
add_subdirectory(export)
kde4_add_ui_files(ksudoku_SRCS welcomescreen.ui configgame.ui)

kde4_add_kcfg_files(ksudoku_SRCS settings.kcfgc )

kde4_add_library(ksudoku_gui ${ksudoku_SRCS})

target_link_libraries(ksudoku_gui ksudoku_export)
#constrains on build order:
#ADD_DEPENDENCIES(ksudoku_gui ksudoku_views ksudoku_export)

########### next target ###############

set(ksudoku_client_SRCS
    ksudoku_client.cpp
)

#kde4_add_executable(ksudoku_client ${ksudoku_client_SRCS})

#target_link_libraries(ksudoku_client ${QT_AND_KDECORE_LIBRARIES} kdeui)

