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 --- kspaceduel/CMakeLists.txt | 47 ++++++++++++++++++++++++++++ kspaceduel/pics/CMakeLists.txt | 12 +++++++ kspaceduel/sprites/CMakeLists.txt | 14 +++++++++ kspaceduel/sprites/explosion/CMakeLists.txt | 21 +++++++++++++ kspaceduel/sprites/playerinfo/CMakeLists.txt | 6 ++++ kspaceduel/sprites/powerups/CMakeLists.txt | 6 ++++ kspaceduel/sprites/ship1/CMakeLists.txt | 24 ++++++++++++++ kspaceduel/sprites/ship2/CMakeLists.txt | 24 ++++++++++++++ kspaceduel/sprites/sun/CMakeLists.txt | 5 +++ 9 files changed, 159 insertions(+) create mode 100644 kspaceduel/CMakeLists.txt create mode 100644 kspaceduel/pics/CMakeLists.txt create mode 100644 kspaceduel/sprites/CMakeLists.txt create mode 100644 kspaceduel/sprites/explosion/CMakeLists.txt create mode 100644 kspaceduel/sprites/playerinfo/CMakeLists.txt create mode 100644 kspaceduel/sprites/powerups/CMakeLists.txt create mode 100644 kspaceduel/sprites/ship1/CMakeLists.txt create mode 100644 kspaceduel/sprites/ship2/CMakeLists.txt create mode 100644 kspaceduel/sprites/sun/CMakeLists.txt (limited to 'kspaceduel') diff --git a/kspaceduel/CMakeLists.txt b/kspaceduel/CMakeLists.txt new file mode 100644 index 00000000..8775757f --- /dev/null +++ b/kspaceduel/CMakeLists.txt @@ -0,0 +1,47 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( sprites ) +add_subdirectory( pics ) + +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} +) + + +##### kspaceduel (executable) ################### + +tde_add_executable( kspaceduel AUTOMOC + SOURCES general.ui mathroutines.cpp topwidget.cpp playerinfo.cpp sprites.cpp + mainview.cpp dialogs.cpp ai.cpp main.cpp options.kcfgc + LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons ##################################### + +tde_install_icons( kspaceduel ) + + +##### other data ################################ + +install( FILES kspaceduel.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( FILES kspaceduelui.rc + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel +) + +install( FILES kspaceduel.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) diff --git a/kspaceduel/pics/CMakeLists.txt b/kspaceduel/pics/CMakeLists.txt new file mode 100644 index 00000000..620b54c1 --- /dev/null +++ b/kspaceduel/pics/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2016 Alexander Golubev +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/icons ) diff --git a/kspaceduel/sprites/CMakeLists.txt b/kspaceduel/sprites/CMakeLists.txt new file mode 100644 index 00000000..0edf2ca5 --- /dev/null +++ b/kspaceduel/sprites/CMakeLists.txt @@ -0,0 +1,14 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( ship1 ) +add_subdirectory( ship2 ) +add_subdirectory( playerinfo ) +add_subdirectory( explosion ) +add_subdirectory( sun ) +add_subdirectory( powerups ) + +##### other data ################################ + +install( FILES backgr.png + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites +) diff --git a/kspaceduel/sprites/explosion/CMakeLists.txt b/kspaceduel/sprites/explosion/CMakeLists.txt new file mode 100644 index 00000000..ee150761 --- /dev/null +++ b/kspaceduel/sprites/explosion/CMakeLists.txt @@ -0,0 +1,21 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES explos00.pbm explos00.ppm explos01.pbm explos01.ppm explos02.pbm + explos02.ppm explos03.pbm explos03.ppm explos04.pbm explos04.ppm explos05.pbm + explos05.ppm explos06.pbm explos06.ppm explos07.pbm explos07.ppm explos08.pbm + explos08.ppm explos09.pbm explos09.ppm explos10.pbm explos10.ppm explos11.pbm + explos11.ppm explos12.pbm explos12.ppm explos13.pbm explos13.ppm explos14.pbm + explos14.ppm explos15.pbm explos15.ppm explos16.pbm explos16.ppm explos17.pbm + explos17.ppm explos18.pbm explos18.ppm explos19.pbm explos19.ppm explos20.pbm + explos20.ppm explos21.pbm explos21.ppm explos22.pbm explos22.ppm explos23.pbm + explos23.ppm explos24.pbm explos24.ppm explos25.pbm explos25.ppm explos26.pbm + explos26.ppm explos27.pbm explos27.ppm explos28.pbm explos28.ppm explos29.pbm + explos29.ppm explos30.pbm explos30.ppm mineex00.pbm mineex00.ppm mineex01.pbm + mineex01.ppm mineex02.pbm mineex02.ppm mineex03.pbm mineex03.ppm mineex04.pbm + mineex04.ppm mineex05.pbm mineex05.ppm mineex06.pbm mineex06.ppm mineex07.pbm + mineex07.ppm mineex08.pbm mineex08.ppm mineex09.pbm mineex09.ppm mineex10.pbm + mineex10.ppm mineex11.pbm mineex11.ppm mineex12.pbm mineex12.ppm mineex13.pbm + mineex13.ppm mineex14.pbm mineex14.ppm mineex15.pbm mineex15.ppm mineex16.pbm + mineex16.ppm mineex17.pbm mineex17.ppm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/explosion +) diff --git a/kspaceduel/sprites/playerinfo/CMakeLists.txt b/kspaceduel/sprites/playerinfo/CMakeLists.txt new file mode 100644 index 00000000..447c354d --- /dev/null +++ b/kspaceduel/sprites/playerinfo/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES energy.pnm mine.pnm ship10.pnm ship11.pnm ship12.pnm ship13.pnm + ship20.pnm ship21.pnm ship22.pnm ship23.pnm win.pnm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/playerinfo +) diff --git a/kspaceduel/sprites/powerups/CMakeLists.txt b/kspaceduel/sprites/powerups/CMakeLists.txt new file mode 100644 index 00000000..53f1e33a --- /dev/null +++ b/kspaceduel/sprites/powerups/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES pbullet.pbm pbullet.ppm penergy.pbm penergy.ppm pmine.pbm + pmine.ppm pshield.pbm pshield.ppm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/powerups +) diff --git a/kspaceduel/sprites/ship1/CMakeLists.txt b/kspaceduel/sprites/ship1/CMakeLists.txt new file mode 100644 index 00000000..3dc57332 --- /dev/null +++ b/kspaceduel/sprites/ship1/CMakeLists.txt @@ -0,0 +1,24 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES bullet.pbm bullet.ppm mine0.pbm mine0.ppm mine1.pbm mine1.ppm + ship00.pbm ship00.ppm ship01.pbm ship01.ppm ship02.pbm ship02.ppm ship03.pbm + ship03.ppm ship04.pbm ship04.ppm ship05.pbm ship05.ppm ship06.pbm ship06.ppm + ship07.pbm ship07.ppm ship08.pbm ship08.ppm ship09.pbm ship09.ppm ship10.pbm + ship10.ppm ship11.pbm ship11.ppm ship12.pbm ship12.ppm ship13.pbm ship13.ppm + ship14.pbm ship14.ppm ship15.pbm ship15.ppm ship16.pbm ship16.ppm ship17.pbm + ship17.ppm ship18.pbm ship18.ppm ship19.pbm ship19.ppm ship20.pbm ship20.ppm + ship21.pbm ship21.ppm ship22.pbm ship22.ppm ship23.pbm ship23.ppm ship24.pbm + ship24.ppm ship25.pbm ship25.ppm ship26.pbm ship26.ppm ship27.pbm ship27.ppm + ship28.pbm ship28.ppm ship29.pbm ship29.ppm ship30.pbm ship30.ppm ship31.pbm + ship31.ppm ship32.pbm ship32.ppm ship33.pbm ship33.ppm ship34.pbm ship34.ppm + ship35.pbm ship35.ppm ship36.pbm ship36.ppm ship37.pbm ship37.ppm ship38.pbm + ship38.ppm ship39.pbm ship39.ppm ship40.pbm ship40.ppm ship41.pbm ship41.ppm + ship42.pbm ship42.ppm ship43.pbm ship43.ppm ship44.pbm ship44.ppm ship45.pbm + ship45.ppm ship46.pbm ship46.ppm ship47.pbm ship47.ppm ship48.pbm ship48.ppm + ship49.pbm ship49.ppm ship50.pbm ship50.ppm ship51.pbm ship51.ppm ship52.pbm + ship52.ppm ship53.pbm ship53.ppm ship54.pbm ship54.ppm ship55.pbm ship55.ppm + ship56.pbm ship56.ppm ship57.pbm ship57.ppm ship58.pbm ship58.ppm ship59.pbm + ship59.ppm ship60.pbm ship60.ppm ship61.pbm ship61.ppm ship62.pbm ship62.ppm + ship63.pbm ship63.ppm ship64.pbm ship64.ppm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/ship1 +) diff --git a/kspaceduel/sprites/ship2/CMakeLists.txt b/kspaceduel/sprites/ship2/CMakeLists.txt new file mode 100644 index 00000000..3b53e4a9 --- /dev/null +++ b/kspaceduel/sprites/ship2/CMakeLists.txt @@ -0,0 +1,24 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES bullet.pbm bullet.ppm mine0.pbm mine0.ppm mine1.pbm mine1.ppm + ship00.pbm ship00.ppm ship01.pbm ship01.ppm ship02.pbm ship02.ppm ship03.pbm + ship03.ppm ship04.pbm ship04.ppm ship05.pbm ship05.ppm ship06.pbm ship06.ppm + ship07.pbm ship07.ppm ship08.pbm ship08.ppm ship09.pbm ship09.ppm ship10.pbm + ship10.ppm ship11.pbm ship11.ppm ship12.pbm ship12.ppm ship13.pbm ship13.ppm + ship14.pbm ship14.ppm ship15.pbm ship15.ppm ship16.pbm ship16.ppm ship17.pbm + ship17.ppm ship18.pbm ship18.ppm ship19.pbm ship19.ppm ship20.pbm ship20.ppm + ship21.pbm ship21.ppm ship22.pbm ship22.ppm ship23.pbm ship23.ppm ship24.pbm + ship24.ppm ship25.pbm ship25.ppm ship26.pbm ship26.ppm ship27.pbm ship27.ppm + ship28.pbm ship28.ppm ship29.pbm ship29.ppm ship30.pbm ship30.ppm ship31.pbm + ship31.ppm ship32.pbm ship32.ppm ship33.pbm ship33.ppm ship34.pbm ship34.ppm + ship35.pbm ship35.ppm ship36.pbm ship36.ppm ship37.pbm ship37.ppm ship38.pbm + ship38.ppm ship39.pbm ship39.ppm ship40.pbm ship40.ppm ship41.pbm ship41.ppm + ship42.pbm ship42.ppm ship43.pbm ship43.ppm ship44.pbm ship44.ppm ship45.pbm + ship45.ppm ship46.pbm ship46.ppm ship47.pbm ship47.ppm ship48.pbm ship48.ppm + ship49.pbm ship49.ppm ship50.pbm ship50.ppm ship51.pbm ship51.ppm ship52.pbm + ship52.ppm ship53.pbm ship53.ppm ship54.pbm ship54.ppm ship55.pbm ship55.ppm + ship56.pbm ship56.ppm ship57.pbm ship57.ppm ship58.pbm ship58.ppm ship59.pbm + ship59.ppm ship60.pbm ship60.ppm ship61.pbm ship61.ppm ship62.pbm ship62.ppm + ship63.pbm ship63.ppm ship64.pbm ship64.ppm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/ship2 +) diff --git a/kspaceduel/sprites/sun/CMakeLists.txt b/kspaceduel/sprites/sun/CMakeLists.txt new file mode 100644 index 00000000..7cffe1b6 --- /dev/null +++ b/kspaceduel/sprites/sun/CMakeLists.txt @@ -0,0 +1,5 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +install( FILES sun.ppm sun.pbm + DESTINATION ${DATA_INSTALL_DIR}/kspaceduel/sprites/sun +) -- cgit v1.2.1