diff options
author | Slávek Banko <[email protected]> | 2012-11-18 15:33:48 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-11-18 15:33:48 +0100 |
commit | c4c9c9fd262dd8450c1cf4454183b03173a3b092 (patch) | |
tree | e03d0b806ab851d79324ac05bc6fe06cdfe1fc0d /amor | |
parent | 75bf0c9d253aee7281a0d0d7e9f899d75a1bd04b (diff) | |
download | tdetoys-c4c9c9fd262dd8450c1cf4454183b03173a3b092.tar.gz tdetoys-c4c9c9fd262dd8450c1cf4454183b03173a3b092.zip |
Initial conversion to cmake
Thanks to Fat-Zer
Diffstat (limited to 'amor')
-rw-r--r-- | amor/CMakeLists.txt | 56 | ||||
-rw-r--r-- | amor/data/CMakeLists.txt | 22 | ||||
-rw-r--r-- | amor/data/pics/CMakeLists.txt | 14 | ||||
-rw-r--r-- | amor/data/pics/animated/CMakeLists.txt | 19 | ||||
-rw-r--r-- | amor/data/pics/animated/blob/CMakeLists.txt | 45 | ||||
-rw-r--r-- | amor/data/pics/animated/bonhomme/CMakeLists.txt | 24 | ||||
-rw-r--r-- | amor/data/pics/animated/eyes/CMakeLists.txt | 22 | ||||
-rw-r--r-- | amor/data/pics/animated/ghost/CMakeLists.txt | 21 | ||||
-rw-r--r-- | amor/data/pics/animated/neko/CMakeLists.txt | 22 | ||||
-rw-r--r-- | amor/data/pics/animated/pingu/CMakeLists.txt | 44 | ||||
-rw-r--r-- | amor/data/pics/animated/tao/CMakeLists.txt | 26 | ||||
-rw-r--r-- | amor/data/pics/animated/worm/CMakeLists.txt | 24 | ||||
-rw-r--r-- | amor/data/pics/preview/CMakeLists.txt | 18 | ||||
-rw-r--r-- | amor/data/pics/static/CMakeLists.txt | 16 |
14 files changed, 373 insertions, 0 deletions
diff --git a/amor/CMakeLists.txt b/amor/CMakeLists.txt new file mode 100644 index 0000000..750b0b9 --- /dev/null +++ b/amor/CMakeLists.txt @@ -0,0 +1,56 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( data ) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### amor (executable) ######################### + +tde_add_executable( amor AUTOMOC + SOURCES amordialog.cpp amor.cpp amorwidget.cpp + main.cpp amoranim.cpp amorpm.cpp + amorbubble.cpp amorconfig.cpp amortips.cpp + AmorIface.skel + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### includes ################################## + +install( FILES AmorIface.h + DESTINATION ${INCLUDE_INSTALL_DIR} +) + + +##### icons ##################################### + +tde_install_icons( amor ) + + +##### other data ################################ + +install( FILES amor.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + diff --git a/amor/data/CMakeLists.txt b/amor/data/CMakeLists.txt new file mode 100644 index 0000000..76ac033 --- /dev/null +++ b/amor/data/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pics ) + +##### other data ################################ + +install( FILES blobrc ghostrc eyesrc bonhommerc + nekorc pingurc wormrc tips-en billyrc bsdrc + tuxrc taorc + DESTINATION ${DATA_INSTALL_DIR}/amor +) + +tde_install_symlink( tips-en ${DATA_INSTALL_DIR}/amor/tips ) diff --git a/amor/data/pics/CMakeLists.txt b/amor/data/pics/CMakeLists.txt new file mode 100644 index 0000000..f9d1b6f --- /dev/null +++ b/amor/data/pics/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( animated ) +add_subdirectory( preview ) +add_subdirectory( static ) diff --git a/amor/data/pics/animated/CMakeLists.txt b/amor/data/pics/animated/CMakeLists.txt new file mode 100644 index 0000000..ab2ba78 --- /dev/null +++ b/amor/data/pics/animated/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( blob ) +add_subdirectory( bonhomme ) +add_subdirectory( eyes ) +add_subdirectory( ghost ) +add_subdirectory( neko ) +add_subdirectory( pingu ) +add_subdirectory( tao ) +add_subdirectory( worm ) diff --git a/amor/data/pics/animated/blob/CMakeLists.txt b/amor/data/pics/animated/blob/CMakeLists.txt new file mode 100644 index 0000000..a9e297e --- /dev/null +++ b/amor/data/pics/animated/blob/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES blob_b1.png blob_b2.png + blob_BeamDown1.png blob_BeamDown2.png + blob_BeamDown3.png blob_BeamDown4.png + blob_BeamDown5.png blob_BeamDown6.png + blob_BeamDown7.png blob_BeamDown8.png + blob_BeamDown9.png blob_BeamUp10.png + blob_BeamUp1.png blob_BeamUp2.png + blob_BeamUp3.png blob_BeamUp4.png + blob_BeamUp5.png blob_BeamUp6.png + blob_BeamUp7.png blob_BeamUp8.png + blob_BeamUp9.png blob_e1.png blob_ex1.png + blob_f1.png blob_f2.png blob_f3.png + blob_fire10.png blob_fire11.png blob_fire2.png + blob_fire3.png blob_fire4.png blob_fire5.png + blob_fire6.png blob_fire7.png blob_fire8.png + blob_fire9.png blob_g1.png blob_g2.png + blob_gl1.png blob_gl2.png blob_gl3.png + blob_h1.png blob_h2.png blob_h3.png + blob_jet1.png blob_jet2.png blob_jet3.png + blob_jet4.png blob_l_jet1.png blob_l_jet2.png + blob_l_jet3.png blob_l_jet4.png + blob_l_turn1.png blob_l_turn2.png + blob_l_turn3.png blob_l_turn4.png blob.png + blob_r135.png blob_r180.png blob_r225.png + blob_r270.png blob_r315.png blob_r45.png + blob_r90.png blob_r_turn1.png blob_r_turn2.png + blob_r_turn3.png blob_r_turn4.png blob_s1.png + blob_s2.png blob_s3.png blob_sl1.png + blob_sl2.png blob_sl3.png blob_sl4.png + blob_z1.png blob_z2.png blob_z3.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/blob +) + diff --git a/amor/data/pics/animated/bonhomme/CMakeLists.txt b/amor/data/pics/animated/bonhomme/CMakeLists.txt new file mode 100644 index 0000000..4efa66d --- /dev/null +++ b/amor/data/pics/animated/bonhomme/CMakeLists.txt @@ -0,0 +1,24 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES b1.png b1-r.png b2.png b2-r.png + b3.png b3-r.png b4.png b4-r.png bcol1.png + bcol2.png bdrib1.png bdrib2.png bdrib3.png + bdrib4.png bdrib5.png bdrib6.png bdrib7.png + bdrop.png b-f2.png b-f.png bgo1.png bgo2.png + bgo3.png bgo4.png bgo5.png bgo6.png bgo7.png + bh1.png bpof1.png bpof2.png bpof3.png bpof4.png + bpof5.png bpof6.png sa1.png sa2a.png sa2b.png + sa2c.png sa2.png salut1.png salut.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/bonhomme +) + diff --git a/amor/data/pics/animated/eyes/CMakeLists.txt b/amor/data/pics/animated/eyes/CMakeLists.txt new file mode 100644 index 0000000..034ebb3 --- /dev/null +++ b/amor/data/pics/animated/eyes/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES eye_1.png eye_2.png eye_b.png + eye_d.png eye_e.png eye_h1.png eye_h2.png + eye_h3.png eye_h4.png eye_l.png eye_m1.png + eye_m2.png eye_m3.png eye_m4.png eye_m5.png + eye_m6.png eye_m7.png eye_s1.png eye_s2.png + eye_s3.png eye_s4.png eye_u.png eye_z1.png + eye_z2.png eye_z3.png eye_z4.png eye_z5.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/eyes +) + diff --git a/amor/data/pics/animated/ghost/CMakeLists.txt b/amor/data/pics/animated/ghost/CMakeLists.txt new file mode 100644 index 0000000..f5d460e --- /dev/null +++ b/amor/data/pics/animated/ghost/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES ghost_1.png ghost_2.png + ghost_e.png ghost_m1.png ghost_m2.png + ghost_m3.png ghost_m4.png ghost_m5.png + ghost_m6.png ghost_m7.png ghost_z1.png + ghost_z2.png ghost_z3.png ghost_z4.png + ghost_z5.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/ghost +) + diff --git a/amor/data/pics/animated/neko/CMakeLists.txt b/amor/data/pics/animated/neko/CMakeLists.txt new file mode 100644 index 0000000..6f8cd2f --- /dev/null +++ b/amor/data/pics/animated/neko/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES claw1.png claw2.png jump1.png + jump2.png jump3.png jump4.png jumpl1.png + jumpl2.png jumpl3.png jumpl4.png lick2.png + lick.png run1.png run2.png run3.png run4.png + scratch1.png scratch2.png scratch3.png + scratch4.png sitleft.png sit.png sleep1.png + sleep2.png surprise.png tail.png yawn.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/neko +) + diff --git a/amor/data/pics/animated/pingu/CMakeLists.txt b/amor/data/pics/animated/pingu/CMakeLists.txt new file mode 100644 index 0000000..df47cf9 --- /dev/null +++ b/amor/data/pics/animated/pingu/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES bash_l10.png bash_l11.png + bash_l12.png bash_l1.png bash_l2.png + bash_l3.png bash_l4.png bash_l5.png bash_l6.png + bash_l7.png bash_l8.png bash_l9.png + bash_r10.png bash_r11.png bash_r12.png + bash_r1.png bash_r2.png bash_r3.png bash_r4.png + bash_r5.png bash_r6.png bash_r7.png bash_r8.png + bash_r9.png blocker1.png blocker2.png + blocker3.png blocker4.png blocker5.png + blocker6.png bomber10.png bomber11.png + bomber12.png bomber13.png bomber14.png + bomber15.png bomber16.png bomber1.png + bomber2.png bomber3.png bomber4.png bomber5.png + bomber6.png bomber7.png bomber8.png bomber9.png + digger10.png digger11.png digger12.png + digger13.png digger14.png digger1.png + digger2.png digger3.png digger4.png digger5.png + digger6.png digger7.png digger8.png digger9.png + faller1.png faller2.png faller3.png faller4.png + faller5.png faller6.png faller7.png faller8.png + floater1.png floater2.png floater3.png + floater4.png floater5.png floater6.png + floater7.png floater8.png tumble1.png + tumble2.png tumble3.png tumble4.png tumble5.png + tumble6.png tumble7.png tumble8.png walk_l1.png + walk_l2.png walk_l3.png walk_l4.png walk_l5.png + walk_l6.png walk_l7.png walk_l8.png walk_r1.png + walk_r2.png walk_r3.png walk_r4.png walk_r5.png + walk_r6.png walk_r7.png walk_r8.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/pingu +) + diff --git a/amor/data/pics/animated/tao/CMakeLists.txt b/amor/data/pics/animated/tao/CMakeLists.txt new file mode 100644 index 0000000..d9b65a1 --- /dev/null +++ b/amor/data/pics/animated/tao/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES yy105.png yy120.png yy135.png + yy150.png yy15.png yy165.png yy180.png + yy195.png yy-1.png yy210.png yy225.png + yy240.png yy255.png yy270.png yy285.png + yy-2.png yy300.png yy30.png yy315.png yy330.png + yy345.png yy-3.png yy45.png yy-4.png yy-5.png + yy60.png yy-6.png yy75.png yy-7.png yy-8.png + yy90.png yy-9.png yy.png yyx10.png yyx12.png + yyx14.png yyx16.png yyx18.png yyx20.png + yyx22.png yyx24.png yyx26.png yyx28.png + yyx30.png yyx6.png yyx8.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/tao +) + diff --git a/amor/data/pics/animated/worm/CMakeLists.txt b/amor/data/pics/animated/worm/CMakeLists.txt new file mode 100644 index 0000000..a8ad247 --- /dev/null +++ b/amor/data/pics/animated/worm/CMakeLists.txt @@ -0,0 +1,24 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES w-a1.png w-a2.png w-b1.png + w-b2.png w-be1.png w-be2.png w-be3.png + w-be4.png w-d1.png w-d2.png w-d3.png w-d4.png + w-d5.png w-dr1.png w-e1.png w-l1.png w-l2.png + w-l3.png w-ml0.png w-ml1.png w-ml2.png + w-ml3.png w-mr0.png w-mr1.png w-mr2.png + w-mr3.png w-s1.png w-s2.png w-s3.png w-u1.png + w-u2.png w-u3.png w-wl1.png w-wl2.png w-wr1.png + w-wr2.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/animated/worm +) + diff --git a/amor/data/pics/preview/CMakeLists.txt b/amor/data/pics/preview/CMakeLists.txt new file mode 100644 index 0000000..905376d --- /dev/null +++ b/amor/data/pics/preview/CMakeLists.txt @@ -0,0 +1,18 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES billy.png bonhomme.png ghost.png + neko.png tux.png blob.png bsd.png eyes.png + tao.png worm.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/preview +) + diff --git a/amor/data/pics/static/CMakeLists.txt b/amor/data/pics/static/CMakeLists.txt new file mode 100644 index 0000000..770c2bb --- /dev/null +++ b/amor/data/pics/static/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2012 Golubev Alexander +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES billy.png bsd.png tux.png + DESTINATION + ${DATA_INSTALL_DIR}/amor/pics/static +) + |