/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
- # fake google plugin
- set( googleHeaders
- ../jabber.h
- ../avatarmanager.h
- ../xmlconsole.h
- googlewrapper.h )
- set( googleSources
- ../jabber.cpp
- ../tomahawksipmessage.cpp
- ../tomahawksipmessagefactory.cpp
- ../avatarmanager.cpp
- ../xmlconsole.cpp
- googlewrapper.cpp )
- add_definitions(-DGOOGLE_WRAPPER)
- qt4_add_resources( RCX_SRCS "resources.qrc" )
- qt4_wrap_cpp( googleMoc ${googleHeaders} )
- add_library( tomahawk_sipgoogle SHARED ${googleSources} ${googleMoc} ${googleMoc} ${RCX_SRCS} )
- target_link_libraries( tomahawk_sipgoogle
- ${QT_LIBRARIES}
- ${LIBJREEN_LIBRARY}
- ${OS_SPECIFIC_LINK_LIBRARIES}
- tomahawklib
- )
- install( TARGETS tomahawk_sipgoogle DESTINATION ${CMAKE_INSTALL_LIBDIR} )