diff options
Diffstat (limited to 'kbattleship/kbattleship/CMakeLists.txt')
-rw-r--r-- | kbattleship/kbattleship/CMakeLists.txt | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/kbattleship/kbattleship/CMakeLists.txt b/kbattleship/kbattleship/CMakeLists.txt new file mode 100644 index 00000000..5e140a16 --- /dev/null +++ b/kbattleship/kbattleship/CMakeLists.txt @@ -0,0 +1,59 @@ +################################################# +# +# (C) 2016 Alexander Golubev +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( dialogs ) +add_subdirectory( pictures ) +add_subdirectory( sounds ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libtdegames + ${CMAKE_SOURCE_DIR}/libtdegames/highscore + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kbattleship (executable) ################## + +tde_add_executable( kbattleship AUTOMOC + SOURCES kbaiplayer.cpp kbstrategy.cpp kbverticalstepstrategy.cpp + kbdestroyshipstrategy.cpp kbhorizontalstepstrategy.cpp + kbrandomshotstrategy.cpp kbdiagonalwrapstrategy.cpp kmessage.cpp + kbattleshipserver.cpp kbattleshipclient.cpp kbattleshipview.cpp + kgridwidget.cpp kbattlefield.cpp kchatwidget.cpp kserverdialog.cpp + kclientdialog.cpp kstatdialog.cpp kbdiagonalshotstrategy.cpp + konnectionhandling.cpp kship.cpp kshiplist.cpp kbchooserstrategy.cpp + kbattleship.cpp main.cpp + LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared + tdednssd-shared kbattleshipdialogs-static + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data ################################ +install( FILES kbattleshipui.rc eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kbattleship +) + +install( FILES kbattleship.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( FILES _kbattleship._tcp + DESTINATION ${DATA_INSTALL_DIR}/zeroconf +) |