mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 09:19:41 +01:00
* Install headers for libtomahawk
This commit is contained in:
parent
7966926d0c
commit
f7d430d77c
@ -472,3 +472,63 @@ INSTALL( TARGETS tomahawklib
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
|
||||
# Install header files
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Config.h.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/config.h)
|
||||
|
||||
file( GLOB rootHeaders "*.h" )
|
||||
file( GLOB accountsHeaders "accounts/*.h" )
|
||||
file( GLOB accountsLastfmHeaders "accounts/lastfm/*.h" )
|
||||
file( GLOB accountsSpotifyHeaders "accounts/spotify/*.h" )
|
||||
file( GLOB audioHeaders "audio/*.h" )
|
||||
file( GLOB contextHeaders "context/*.h" )
|
||||
file( GLOB contextPagesHeaders "context/pages/*.h" )
|
||||
file( GLOB databaseHeaders "database/*.h" )
|
||||
file( GLOB filemetadataHeaders "filemetadata/*.h" )
|
||||
file( GLOB filemetadataTaghandlersHeaders "filemetadata/taghandlers/*.h" )
|
||||
file( GLOB infobarHeaders "infobar/*.h" )
|
||||
file( GLOB infosystemHeaders "infosystem/*.h" )
|
||||
file( GLOB jobviewHeaders "jobview/*.h" )
|
||||
file( GLOB networkHeaders "network/*.h" )
|
||||
file( GLOB playlistHeaders "playlist/*.h" )
|
||||
file( GLOB playlistDynamicHeaders "playlist/dynamic/*.h" )
|
||||
file( GLOB playlistDynamicDatabaseHeaders "playlist/dynamic/database/*.h" )
|
||||
file( GLOB playlistDynamicEchonestHeaders "playlist/dynamic/echonest/*.h" )
|
||||
file( GLOB playlistDynamicWidgetsHeaders "playlist/dynamic/widgets/*.h" )
|
||||
file( GLOB resolversHeaders "resolvers/*.h" )
|
||||
file( GLOB sipHeaders "sip/*.h" )
|
||||
file( GLOB thirdpartyKdsingleapplicationguardHeaders "thirdparty/kdsingleapplicationguard/*.h" )
|
||||
file( GLOB thirdpartyQocoaHeaders "thirdparty/Qocoa/*.h" )
|
||||
file( GLOB utilsHeaders "utils/*.h" )
|
||||
file( GLOB widgetsHeaders "widgets/*.h" )
|
||||
file( GLOB widgetsInfowidgetsHeaders "widgets/infowidgets/*.h" )
|
||||
file( GLOB widgetsSearchlineeditHeaders "widgets/searchlineedit/*.h" )
|
||||
|
||||
install( FILES ${rootHeaders} DESTINATION include/libtomahawk )
|
||||
install( FILES ${accountsHeaders} DESTINATION include/libtomahawk/accounts )
|
||||
install( FILES ${accountsLastfmHeaders} DESTINATION include/libtomahawk/accounts/lastfm )
|
||||
install( FILES ${accountsSpotifyHeaders} DESTINATION include/libtomahawk/accounts/spotify )
|
||||
install( FILES ${audioHeaders} DESTINATION include/libtomahawk/audio )
|
||||
install( FILES ${contextHeaders} DESTINATION include/libtomahawk/context )
|
||||
install( FILES ${contextPagesHeaders} DESTINATION include/libtomahawk/context/pages )
|
||||
install( FILES ${databaseHeaders} DESTINATION include/libtomahawk/database )
|
||||
install( FILES ${filemetadataHeaders} DESTINATION include/libtomahawk/filemetadata )
|
||||
install( FILES ${filemetadataTaghandlersHeaders} DESTINATION include/libtomahawk/filemetadata/taghandlers )
|
||||
install( FILES ${infobarHeaders} DESTINATION include/libtomahawk/infobar )
|
||||
install( FILES ${infosystemHeaders} DESTINATION include/libtomahawk/infosystem )
|
||||
install( FILES ${jobviewHeaders} DESTINATION include/libtomahawk/jobview )
|
||||
install( FILES ${networkHeaders} DESTINATION include/libtomahawk/network )
|
||||
install( FILES ${playlistHeaders} DESTINATION include/libtomahawk/playlist )
|
||||
install( FILES ${playlistDynamicHeaders} DESTINATION include/libtomahawk/playlist/dynamic )
|
||||
install( FILES ${playlistDynamicDatabaseHeaders} DESTINATION include/libtomahawk/playlist/dynamic/database )
|
||||
install( FILES ${playlistDynamicEchonestHeaders} DESTINATION include/libtomahawk/playlist/dynamic/echonest )
|
||||
install( FILES ${playlistDynamicWidgetsHeaders} DESTINATION include/libtomahawk/playlist/dynamic/widgets )
|
||||
install( FILES ${resolversHeaders} DESTINATION include/libtomahawk/resolvers )
|
||||
install( FILES ${sipHeaders} DESTINATION include/libtomahawk/sip )
|
||||
install( FILES ${thirdpartyKdsingleapplicationguardHeaders} DESTINATION include/libtomahawk/thirdparty/kdsingleapplicationguard )
|
||||
install( FILES ${thirdpartyQocoaHeaders} DESTINATION include/libtomahawk/thirdparty/Qocoa )
|
||||
install( FILES ${utilsHeaders} DESTINATION include/libtomahawk/utils )
|
||||
install( FILES ${widgetsHeaders} DESTINATION include/libtomahawk/widgets )
|
||||
install( FILES ${widgetsInfowidgetsHeaders} DESTINATION include/libtomahawk/widgets/infowidgets )
|
||||
install( FILES ${widgetsSearchlineeditHeaders} DESTINATION include/libtomahawk/widgets/searchlineedit )
|
||||
|
29
src/libtomahawk/Config.h.in
Normal file
29
src/libtomahawk/Config.h.in
Normal file
@ -0,0 +1,29 @@
|
||||
#ifndef CONFIG_H_IN
|
||||
#define CONFIG_H_IN
|
||||
|
||||
#cmakedefine TOMAHAWK_ORGANIZATION_NAME "${TOMAHAWK_ORGANIZATION_NAME}"
|
||||
#cmakedefine TOMAHAWK_ORGANIZATION_DOMAIN "${TOMAHAWK_ORGANIZATION_DOMAIN}"
|
||||
#cmakedefine TOMAHAWK_APPLICATION_NAME "${TOMAHAWK_APPLICATION_NAME}"
|
||||
#cmakedefine TOMAHAWK_VERSION "${TOMAHAWK_VERSION}"
|
||||
|
||||
#cmakedefine DEBUG_BUILD
|
||||
|
||||
#define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
|
||||
#define CMAKE_INSTALL_FULL_LIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}"
|
||||
#define CMAKE_SYSTEM "${CMAKE_SYSTEM}"
|
||||
|
||||
#cmakedefine LION
|
||||
#cmakedefine SNOW_LEOPARD
|
||||
#cmakedefine LEOPARD
|
||||
#cmakedefine HAVE_SPARKLE
|
||||
#cmakedefine HAVE_THUMBBUTTON
|
||||
|
||||
#cmakedefine WITH_BREAKPAD
|
||||
#cmakedefine WITH_CRASHREPORTER
|
||||
#cmakedefine WITH_BINARY_ATTICA
|
||||
|
||||
|
||||
#cmakedefine LIBLASTFM_FOUND
|
||||
#cmakedefine QCA2_FOUND
|
||||
|
||||
#endif // CONFIG_H_IN
|
Loading…
x
Reference in New Issue
Block a user