############### radselect target ###############

set(radselect_bin_SRCS 
	main.cpp
	radselect.cpp
	radselectview.cpp
	radselectbuttongrid.cpp
	radicalbutton.cpp
	radicalfile.cpp
	)
kde4_add_ui_files(radselect_bin_SRCS radical_selector.ui radselectprefdialog.ui)
kde4_add_kcfg_files(radselect_bin_SRCS radselectconfig.kcfgc)

#kde4_add_app_icon(radselect_bin_SRCS "${CMAKE_INSTALL_PREFIX}/share/icons/oxygen/*/apps/kiten.png")
kde4_add_app_icon(radselect_bin_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../data/pics/hi*-apps-kiten.png")

kde4_add_executable(radselect_bin ${radselect_bin_SRCS})
set_target_properties(radselect_bin PROPERTIES OUTPUT_NAME kitenradselect)
target_link_libraries(radselect_bin ${KDE4_KDEUI_LIBS} kiten)
install( TARGETS radselect_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )

############## install files ####################
install( FILES radselectui.rc DESTINATION ${DATA_INSTALL_DIR}/kitenradselect )
