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.
 
 
 
 
 
 

48 rivejä
995 B

  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. include_directories(
  12. ${TQT_INCLUDE_DIRS}
  13. ${CMAKE_CURRENT_BINARY_DIR}
  14. ${CMAKE_BINARY_DIR}
  15. ${CMAKE_BINARY_DIR}/tdecore
  16. ${CMAKE_SOURCE_DIR}/tdecore
  17. )
  18. string( REPLACE "-Wl,--no-undefined" "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}" )
  19. link_directories(
  20. ${TDECORE_LIBRARY_DIRS}
  21. )
  22. ##### headers ###################################
  23. install( FILES
  24. tdescreensaver.h tdescreensaver_vroot.h
  25. DESTINATION ${INCLUDE_INSTALL_DIR} )
  26. ##### tdescreensaver ##############################
  27. set( target tdescreensaver )
  28. set( ${target}_SRCS
  29. main.cpp tdescreensaver.cpp
  30. )
  31. tde_add_library( ${target} SHARED AUTOMOC
  32. SOURCES ${${target}_SRCS}
  33. VERSION 14.0.0
  34. LINK tdecore-shared
  35. DESTINATION ${LIB_INSTALL_DIR}
  36. )