1
0
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:
Dominik Schmidt
2013-01-15 14:59:57 +01:00
parent 5298401f17
commit e8af9d4c1f
9 changed files with 11 additions and 11 deletions

View File

@@ -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()

View File

@@ -1,4 +1,4 @@
include(AddTomahawkPlugin)
include(TomahawkAddPlugin)
IF( JREEN_FOUND )
add_subdirectory( xmpp )

View File

@@ -1,7 +1,7 @@
include_directories(${QTWEETLIB_INCLUDE_DIR})
add_tomahawk_plugin(twitter
tomahawk_add_plugin(twitter
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES

View File

@@ -1,6 +1,6 @@
include_directories(${JREEN_INCLUDE_DIR})
add_tomahawk_plugin(xmpp
tomahawk_add_plugin(xmpp
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES

View File

@@ -1,6 +1,6 @@
include_directories( ${JREEN_INCLUDE_DIR} )
add_tomahawk_plugin(google
tomahawk_add_plugin(google
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES

View File

@@ -1,5 +1,5 @@
add_tomahawk_plugin(zeroconf
tomahawk_add_plugin(zeroconf
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES

View File

@@ -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"
)

View File

@@ -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}"
)

View File

@@ -4,7 +4,7 @@ set(adium_srcs
)
add_tomahawk_plugin(adium
tomahawk_add_plugin(adium
TYPE infoplugin EXPORT_MACRO INFOPLUGINDLLEXPORT_PRO
SOURCES "${adium_srcs}"
)