diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2016-02-25 06:23:55 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-14 23:04:06 +0100 |
commit | c70db62d3671e524d23ac974d296eb218159b000 (patch) | |
tree | 08d8ed5d0c7c170a7940bcbb80989b99ead98447 /kreversi | |
parent | 133cc7035dbdcaf812d8370f729530fa60547f92 (diff) | |
download | tdegames-c70db62d3671e524d23ac974d296eb218159b000.tar.gz tdegames-c70db62d3671e524d23ac974d296eb218159b000.zip |
Initial cmake conversion
Diffstat (limited to 'kreversi')
-rw-r--r-- | kreversi/CMakeLists.txt | 45 | ||||
-rw-r--r-- | kreversi/icons/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kreversi/pics/CMakeLists.txt | 9 | ||||
-rw-r--r-- | kreversi/pics/background/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kreversi/sounds/CMakeLists.txt | 9 |
5 files changed, 73 insertions, 0 deletions
diff --git a/kreversi/CMakeLists.txt b/kreversi/CMakeLists.txt new file mode 100644 index 00000000..4a7a4193 --- /dev/null +++ b/kreversi/CMakeLists.txt @@ -0,0 +1,45 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( pics ) +add_subdirectory( sounds ) +add_subdirectory( icons ) + +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} +) + + +##### kreversi (executable) ##################### + +tde_add_executable( kreversi AUTOMOC + SOURCES kzoommainwindow.cpp Score.cpp Move.cpp Position.cpp Game.cpp + qreversigame.cpp qreversigameview.cpp SuperEngine.cpp Engine.cpp board.cpp + settings.ui highscores.cpp kreversi.cpp main.cpp prefs.kcfgc + LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared tdeio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES kreversiui.rc + DESTINATION ${DATA_INSTALL_DIR}/kreversi +) + +install( FILES kreversi.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( FILES kreversi.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kreversi/icons/CMakeLists.txt b/kreversi/icons/CMakeLists.txt new file mode 100644 index 00000000..510accfe --- /dev/null +++ b/kreversi/icons/CMakeLists.txt @@ -0,0 +1,4 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +tde_install_icons( ) + diff --git a/kreversi/pics/CMakeLists.txt b/kreversi/pics/CMakeLists.txt new file mode 100644 index 00000000..3a1a51f4 --- /dev/null +++ b/kreversi/pics/CMakeLists.txt @@ -0,0 +1,9 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( background ) + +##### other data ################################ + +install( FILES chips.png chips_mono.png + DESTINATION ${DATA_INSTALL_DIR}/kreversi/pics +) diff --git a/kreversi/pics/background/CMakeLists.txt b/kreversi/pics/background/CMakeLists.txt new file mode 100644 index 00000000..e2fd75d8 --- /dev/null +++ b/kreversi/pics/background/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES Dark_Wood.png Granite.png Light_Wood.png Ocean.png Puzzle.png + Earth.png Hexagon.png Mystique.png Pipes.png Stones.png + DESTINATION ${DATA_INSTALL_DIR}/kreversi/pics/background +) diff --git a/kreversi/sounds/CMakeLists.txt b/kreversi/sounds/CMakeLists.txt new file mode 100644 index 00000000..b97fe32a --- /dev/null +++ b/kreversi/sounds/CMakeLists.txt @@ -0,0 +1,9 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kreversi +) + +install( FILES reversi-click.wav reversi-won.wav + DESTINATION ${DATA_INSTALL_DIR}/kreversi/sounds +) |