SVN_SILENT made messages (.desktop file)
[kdegames.git] / killbots / CMakeLists.txt
blob2b5bfc90e79f559b3b4a8d15cea3dbf6f196e8f4
1 project( killbots )
3 ###### Switching to Subdirectories ######
4 add_subdirectory( icons )
5 add_subdirectory( rulesets )
6 add_subdirectory( themes )
8 ###### Building killbots executable ######
9 set( killbots_SRCS
10     engine.cpp
11     gamestatusdisplayitem.cpp
12     mainwindow.cpp
13     main.cpp
14     optionspage.cpp
15     render.cpp
16     ruleset.cpp
17     rulesetdetailsdialog.cpp
18     rulesetselector.cpp
19     scene.cpp
20     sprite.cpp
21     view.cpp
23 kde4_add_app_icon( killbots_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi*-app-killbots.png"})
24 kde4_add_kcfg_files( killbots_SRCS settings.kcfgc rulesetbase.kcfgc )
25 kde4_add_executable( killbots ${killbots_SRCS} )
26 target_link_libraries( killbots ${KDE4_KDEUI_LIBS} kdegames ${QT_QTXML_LIBRARY})
28 ###### Installing Files ######
29 install( TARGETS killbots ${INSTALL_TARGETS_DEFAULT_ARGS} )
30 install( FILES killbots.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
31 install( FILES killbotsui.rc DESTINATION ${DATA_INSTALL_DIR}/killbots )
32 install( FILES killbots.kcfg DESTINATION ${KCFG_INSTALL_DIR} )