TDE personal information management applications
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.

CMakeLists.txt 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. include_directories(
  12. ${CMAKE_CURRENT_BINARY_DIR}
  13. ${CMAKE_BINARY_DIR}
  14. ${CMAKE_SOURCE_DIR}
  15. ${CMAKE_SOURCE_DIR}/kaddressbook
  16. ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
  17. ${CMAKE_SOURCE_DIR}/libtdepim
  18. ${TDE_INCLUDE_DIR}
  19. ${TQT_INCLUDE_DIRS}
  20. )
  21. link_directories(
  22. ${TQT_LIBRARY_DIRS}
  23. )
  24. if( WITH_NEWDISTRLISTS )
  25. set( DESKTOP distributionlistng.desktop )
  26. set( SOURCE distributionlistngwidget.cpp )
  27. set( TARGET libkaddrbk_distributionlistng )
  28. else( )
  29. set( DESKTOP distributionlist.desktop )
  30. set( SOURCE distributionlistwidget.cpp )
  31. set( TARGET libkaddrbk_distributionlist )
  32. endif( )
  33. ##### other data ################################
  34. install( FILES
  35. ${DESKTOP} resourceselection.desktop
  36. DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
  37. ##### libkaddrbk_distributionlist (module) ######
  38. tde_add_kpart( ${TARGET} AUTOMOC
  39. SOURCES ${SOURCE}
  40. LINK kabinterfaces-shared kdepim-shared kabc-shared
  41. DESTINATION ${PLUGIN_INSTALL_DIR}
  42. )
  43. ##### libkaddrbk_resourceselection (module) #####
  44. tde_add_kpart( libkaddrbk_resourceselection AUTOMOC
  45. SOURCES resourceselection.cpp
  46. LINK kabinterfaces-shared kdepim-shared kabc-shared
  47. DESTINATION ${PLUGIN_INSTALL_DIR}
  48. )