mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
Rename add_tomahawk_plugin macro to tomahawk_add_plugin
This commit is contained in:
@@ -38,7 +38,7 @@ MACRO(CDR var junk)
|
||||
ENDMACRO(CDR)
|
||||
|
||||
|
||||
macro(add_tomahawk_plugin)
|
||||
macro(tomahawk_add_plugin)
|
||||
parse_arguments(PLUGIN
|
||||
"SOURCES;UI;LINK_LIBRARIES;TYPE;EXPORT_MACRO;COMPILE_DEFINITIONS"
|
||||
"NO_INSTALL;SHARED_LIB"
|
||||
@@ -93,7 +93,7 @@ macro(add_tomahawk_plugin)
|
||||
endif()
|
||||
|
||||
# add link targets
|
||||
target_link_libraries(${target} tomahawklib)
|
||||
target_link_libraries(${target} ${TOMAHAWK_LIBRARIES})
|
||||
if(PLUGIN_LINK_LIBRARIES)
|
||||
target_link_libraries(${target} ${PLUGIN_LINK_LIBRARIES})
|
||||
endif()
|
@@ -1,4 +1,4 @@
|
||||
include(AddTomahawkPlugin)
|
||||
include(TomahawkAddPlugin)
|
||||
|
||||
IF( JREEN_FOUND )
|
||||
add_subdirectory( xmpp )
|
||||
|
@@ -1,7 +1,7 @@
|
||||
|
||||
include_directories(${QTWEETLIB_INCLUDE_DIR})
|
||||
|
||||
add_tomahawk_plugin(twitter
|
||||
tomahawk_add_plugin(twitter
|
||||
TYPE account
|
||||
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
|
||||
SOURCES
|
||||
|
@@ -1,6 +1,6 @@
|
||||
include_directories(${JREEN_INCLUDE_DIR})
|
||||
|
||||
add_tomahawk_plugin(xmpp
|
||||
tomahawk_add_plugin(xmpp
|
||||
TYPE account
|
||||
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
|
||||
SOURCES
|
||||
|
@@ -1,6 +1,6 @@
|
||||
include_directories( ${JREEN_INCLUDE_DIR} )
|
||||
|
||||
add_tomahawk_plugin(google
|
||||
tomahawk_add_plugin(google
|
||||
TYPE account
|
||||
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
|
||||
SOURCES
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
add_tomahawk_plugin(zeroconf
|
||||
tomahawk_add_plugin(zeroconf
|
||||
TYPE account
|
||||
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
|
||||
SOURCES
|
||||
|
@@ -14,7 +14,7 @@ list(APPEND simple_plugins
|
||||
|
||||
foreach(simple_plugin ${simple_plugins})
|
||||
STRING(TOLOWER "${simple_plugin}" dir)
|
||||
add_tomahawk_plugin(${dir}
|
||||
tomahawk_add_plugin(${dir}
|
||||
TYPE infoplugin EXPORT_MACRO INFOPLUGINDLLEXPORT_PRO
|
||||
SOURCES "${dir}/${simple_plugin}Plugin.cpp"
|
||||
)
|
||||
|
@@ -10,7 +10,7 @@ if(NOT Qt5Core_DIR)
|
||||
)
|
||||
SET(FDO_LINK_LIBRARIES ${LINK_LIBRARIES} ${X11_LIBRARIES})
|
||||
|
||||
add_tomahawk_plugin(fdonotify
|
||||
tomahawk_add_plugin(fdonotify
|
||||
TYPE infoplugin EXPORT_MACRO INFOPLUGINDLLEXPORT_PRO
|
||||
SOURCES "${fdo_srcs}" LINK_LIBRARIES "${FDO_LINK_LIBRARIES}"
|
||||
)
|
||||
@@ -24,7 +24,7 @@ SET(mpris_srcs
|
||||
mpris/MprisPlugin.cpp
|
||||
)
|
||||
|
||||
add_tomahawk_plugin(mpris
|
||||
tomahawk_add_plugin(mpris
|
||||
TYPE infoplugin EXPORT_MACRO INFOPLUGINDLLEXPORT_PRO
|
||||
SOURCES "${mpris_srcs}"
|
||||
)
|
||||
|
@@ -4,7 +4,7 @@ set(adium_srcs
|
||||
)
|
||||
|
||||
|
||||
add_tomahawk_plugin(adium
|
||||
tomahawk_add_plugin(adium
|
||||
TYPE infoplugin EXPORT_MACRO INFOPLUGINDLLEXPORT_PRO
|
||||
SOURCES "${adium_srcs}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user