From c4638949d61912c44b027cc8dcc2b3c174d2d8aa Mon Sep 17 00:00:00 2001 From: gregory guy Date: Mon, 26 Apr 2021 18:43:25 +0200 Subject: asciiquarium: Add cmake build support, app is renamed tdeasciiquarium. Signed-off-by: gregory guy (cherry picked from commit 749694a3f2fecddf44633067c24851d8719b181e) --- .../kdesavers/tdeasciiquarium/CMakeLists.txt | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt (limited to 'tdescreensaver/kdesavers/tdeasciiquarium/CMakeLists.txt') 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 +) -- cgit v1.2.1