TDE core libraries
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 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #################################################
  2. #
  3. # (C) 2010 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. add_subdirectory( kssl )
  12. add_subdirectory( tdeio )
  13. add_subdirectory( bookmarks )
  14. add_subdirectory( tdefile )
  15. add_subdirectory( pics )
  16. add_subdirectory( tdeioexec )
  17. add_subdirectory( httpfilter )
  18. add_subdirectory( misc )
  19. add_subdirectory( kpasswdserver )
  20. add_subdirectory( tests )
  21. include_directories(
  22. ${TQT_INCLUDE_DIRS}
  23. )
  24. link_directories(
  25. ${TQT_LIBRARY_DIRS}
  26. ${LIBR_LIBDIR}
  27. )
  28. ##### other data ################################
  29. add_custom_command(
  30. OUTPUT tdeio.magic.mgc
  31. COMMAND file -C -m ${CMAKE_CURRENT_SOURCE_DIR}/tdeio.magic
  32. )
  33. add_custom_target(
  34. tdeio_magic_mgc
  35. ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc
  36. )
  37. install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic )
  38. install( FILES
  39. application.desktop kurifilterplugin.desktop
  40. kcomprfilter.desktop kscan.desktop kdatatool.desktop
  41. tdefileplugin.desktop tdecmodule.desktop
  42. DESTINATION ${SERVICETYPES_INSTALL_DIR} )
  43. install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
  44. install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
  45. install( FILES renamedlgplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
  46. install( FILES kpasswdserver.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
  47. install( FILES data.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
  48. if( HAVE_ELFICON )
  49. set( ELFICON_STATIC_LIB tdelficon-static )
  50. endif( HAVE_ELFICON )
  51. ##### libtdeio ####################################
  52. set( target tdeio )
  53. configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY )
  54. tde_add_library( ${target} SHARED
  55. SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
  56. VERSION 14.0.0
  57. EMBED kssl-static tdeiocore-static tdesycoca-static kbookmarks-static tdefile-static ${ELFICON_STATIC_LIB}
  58. LINK ltdlc-static tdeui-shared tdesu-shared tdewalletclient-shared ${LIBR_LIBRARIES} ${ACL_LIBRARIES}
  59. DESTINATION ${LIB_INSTALL_DIR}
  60. )