4 add_subdirectory( objects )
5 add_subdirectory( sounds )
6 add_subdirectory( courses )
7 add_subdirectory( pics )
8 add_subdirectory( graphics )
10 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames/highscore )
13 ########### next target ###############
33 kde4_add_library(kolfprivate SHARED ${kolf_LIB_SRCS})
35 target_link_libraries(kolfprivate ${KDE4_KIO_LIBS} ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_PHONON_LIBS} kdegames)
37 set_target_properties(kolfprivate PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
38 install(TARGETS kolfprivate ${INSTALL_TARGETS_DEFAULT_ARGS})
41 ########### next target ###############
43 set(kolf_SRCS main.cpp)
45 kde4_add_app_icon(kolf_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/hi*-app-kolf.png")
46 kde4_add_executable( kolf ${kolf_SRCS} )
48 target_link_libraries( kolf kolfprivate ${KDE4_KDEUI_LIBS})
49 install(TARGETS kolf ${INSTALL_TARGETS_DEFAULT_ARGS} )
51 ########### install files ###############
53 install( FILES kolf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
54 install( FILES kolfui.rc intro tutorial.kolf tutorial.kolfgame DESTINATION ${DATA_INSTALL_DIR}/kolf )
55 #install( FILES ball.h game.h statedb.h config.h canvasitem.h object.h rtti.h vector.h floater.h slope.h DESTINATION ${INCLUDE_INSTALL_DIR}/kolf COMPONENT Devel )