From c70db62d3671e524d23ac974d296eb218159b000 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Thu, 25 Feb 2016 06:23:55 +0300 Subject: Initial cmake conversion --- kpoker/CMakeLists.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ kpoker/sounds/CMakeLists.txt | 5 +++++ 2 files changed, 47 insertions(+) create mode 100644 kpoker/CMakeLists.txt create mode 100644 kpoker/sounds/CMakeLists.txt (limited to 'kpoker') diff --git a/kpoker/CMakeLists.txt b/kpoker/CMakeLists.txt new file mode 100644 index 00000000..9e339067 --- /dev/null +++ b/kpoker/CMakeLists.txt @@ -0,0 +1,42 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( sounds ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libtdegames + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kpoker (executable) ####################### + +tde_add_executable( kpoker AUTOMOC + SOURCES kpoker.cpp kpaint.cpp top.cpp main.cpp betbox.cpp optionsdlg.cpp + player.cpp playerbox.cpp newgamedlg.cpp poker.cpp + LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons ##################################### + +tde_install_icons( kpoker ) + + +##### other data ################################ + +install( FILES kpoker.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( FILES kpokerui.rc + DESTINATION ${DATA_INSTALL_DIR}/kpoker +) diff --git a/kpoker/sounds/CMakeLists.txt b/kpoker/sounds/CMakeLists.txt new file mode 100644 index 00000000..82c0680e --- /dev/null +++ b/kpoker/sounds/CMakeLists.txt @@ -0,0 +1,5 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES cardflip.wav hold.wav lose.wav win.wav + DESTINATION ${DATA_INSTALL_DIR}/kpoker/sounds +) -- cgit v1.2.1