summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-04-26 18:43:25 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-21 12:19:31 +0900
commitc4638949d61912c44b027cc8dcc2b3c174d2d8aa (patch)
tree0720025c57ac5fe36461d2b2fce401472a92853c /tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt
parentc2217d557536ce6c8b6fd255803113ef45f5dc4c (diff)
downloadtdeartwork-c4638949d61912c44b027cc8dcc2b3c174d2d8aa.tar.gz
tdeartwork-c4638949d61912c44b027cc8dcc2b3c174d2d8aa.zip
asciiquarium: Add cmake build support, app is renamed tdeasciiquarium.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 749694a3f2fecddf44633067c24851d8719b181e)
Diffstat (limited to 'tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt')
-rw-r--r--tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt b/tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt
new file mode 100644
index 00000000..701b26e1
--- /dev/null
+++ b/tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt
@@ -0,0 +1,42 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### tdeasciiquarium (executable)
+
+tde_add_executable( tdeasciiquarium.kss AUTOMOC
+
+ SOURCES
+ aasaver.cpp
+ screen.cpp
+ frame.cpp
+ sprite.cpp
+ AASaverConfig.kcfgc
+ settingswidget.ui
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdescreensaver-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+set_source_files_properties( aasaver.cpp PROPERTIES COMPILE_FLAGS -Wno-trigraphs )
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE tdeasciiquarium.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
+ PO_DIR tdescreensaver-desktops
+)