SVN_SILENT made messages (.desktop file)
[kdegames.git] / knetwalk / src / CMakeLists.txt
blobec2187d2d23398f016a80fa396aefa99a32f6c06
1 add_subdirectory( pics ) 
2 add_subdirectory( sounds ) 
4 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames/highscore  )
6 ########### next target ###############
8 set(knetwalk_SRCS 
9    cell.cpp 
10    main.cpp 
11    mainwindow.cpp
12    renderer.cpp 
13    abstractgrid.cpp)
15 kde4_add_kcfg_files(knetwalk_SRCS settings.kcfgc )
17 kde4_add_app_icon(knetwalk_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/hi*-app-knetwalk.png")
18 kde4_add_executable(knetwalk ${knetwalk_SRCS})
20 target_link_libraries(knetwalk  ${KDE4_KDEUI_LIBS} kdegames ${KDE4_KNOTIFYCONFIG_LIBS} )
22 install(TARGETS knetwalk  ${INSTALL_TARGETS_DEFAULT_ARGS} )
25 ########### install files ###############
27 install( FILES knetwalk.notifyrc  DESTINATION  ${DATA_INSTALL_DIR}/knetwalk )
28 install( FILES knetwalkui.rc  DESTINATION  ${DATA_INSTALL_DIR}/knetwalk )
29 install( FILES knetwalk.desktop  DESTINATION  ${XDG_APPS_INSTALL_DIR} )