TDE base libraries and programs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.4 KiB

  1. #################################################
  2. #
  3. # (C) 2010-2011 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. if( BUILD_KCONTROL OR BUILD_KDESKTOP OR BUILD_TDM )
  12. include_directories(
  13. ${CMAKE_CURRENT_BINARY_DIR}
  14. ${CMAKE_CURRENT_SOURCE_DIR}
  15. ${CMAKE_BINARY_DIR}
  16. ${CMAKE_SOURCE_DIR}/libkonq
  17. ${TDE_INCLUDE_DIR}
  18. ${TQT_INCLUDE_DIRS}
  19. ${LIBART_INCLUDE_DIRS}
  20. )
  21. link_directories(
  22. ${TQT_LIBRARY_DIRS}
  23. ${LIBART_LIBRARY_DIRS}
  24. )
  25. ##### bgnd (static) #############################
  26. tde_add_library( bgnd STATIC_PIC AUTOMOC
  27. SOURCES bgrender.cpp bgsettings.cpp KCrossBGRender.cc
  28. LINK ${LIBART_LIBRARIES}
  29. )
  30. endif( )
  31. if( BUILD_KCONTROL )
  32. add_subdirectory( pics )
  33. ##### other data ################################
  34. install( FILES background.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
  35. ##### kcm_background (module) ###################
  36. tde_add_kpart( kcm_background AUTOMOC
  37. SOURCES main.cpp
  38. LINK kcmbgnd-static bgnd-static tdenewstuff-shared
  39. DESTINATION ${PLUGIN_INSTALL_DIR}
  40. )
  41. ##### kcmbgnd (static) ##########################
  42. tde_add_library( kcmbgnd STATIC_PIC AUTOMOC
  43. SOURCES
  44. bgdialog.cpp bgdialog_ui.ui bgwallpaper_ui.ui
  45. bgwallpaper.cpp bgadvanced_ui.ui bgadvanced.cpp
  46. bgmonitor.cpp
  47. )
  48. endif( )