/src/sip/jabber/googlewrapper/CMakeLists.txt

http://github.com/tomahawk-player/tomahawk · CMake · 32 lines · 23 code · 8 blank · 1 comment · 0 complexity · 1f880631ae39e4685b1c05ab64421696 MD5 · raw file

  1. # fake google plugin
  2. set( googleHeaders
  3. ../jabber.h
  4. ../avatarmanager.h
  5. ../xmlconsole.h
  6. googlewrapper.h )
  7. set( googleSources
  8. ../jabber.cpp
  9. ../tomahawksipmessage.cpp
  10. ../tomahawksipmessagefactory.cpp
  11. ../avatarmanager.cpp
  12. ../xmlconsole.cpp
  13. googlewrapper.cpp )
  14. add_definitions(-DGOOGLE_WRAPPER)
  15. qt4_add_resources( RCX_SRCS "resources.qrc" )
  16. qt4_wrap_cpp( googleMoc ${googleHeaders} )
  17. add_library( tomahawk_sipgoogle SHARED ${googleSources} ${googleMoc} ${googleMoc} ${RCX_SRCS} )
  18. target_link_libraries( tomahawk_sipgoogle
  19. ${QT_LIBRARIES}
  20. ${LIBJREEN_LIBRARY}
  21. ${OS_SPECIFIC_LINK_LIBRARIES}
  22. tomahawklib
  23. )
  24. install( TARGETS tomahawk_sipgoogle DESTINATION ${CMAKE_INSTALL_LIBDIR} )