
add_subdirectory( icons ) 
add_subdirectory( pics ) 




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

set(kpercentage_SRCS 
   kanimation.cpp 
   kanswer.cpp 
   kpercentmain.cpp 
   kpercentage.cpp 
   ksplashscreen.cpp 
   main.cpp )


#kde4_add_app_icon(kpercentage_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/ox*-apps-kpercentage.png")
kde4_add_app_icon(kpercentage_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi*-apps-kpercentage.png")

kde4_add_executable(kpercentage ${kpercentage_SRCS})

target_link_libraries(kpercentage   ${KDE4_KDEUI_LIBS} )

install(TARGETS kpercentage  ${INSTALL_TARGETS_DEFAULT_ARGS} )


########### install files ###############

install( FILES kpercentage.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )
install( FILES right.txt wrong.txt  DESTINATION  ${DATA_INSTALL_DIR}/kpercentage )


