mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* CMakeLists.* cleanup.
This commit is contained in:
@@ -6,9 +6,9 @@ FIND_LIBRARY( COREFOUNDATION_LIBRARY CoreFoundation )
|
|||||||
MARK_AS_ADVANCED( COREAUDIO_LIBRARY COREFOUNDATION_LIBRARY )
|
MARK_AS_ADVANCED( COREAUDIO_LIBRARY COREFOUNDATION_LIBRARY )
|
||||||
|
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
${COREAUDIO_LIBRARY}
|
${COREAUDIO_LIBRARY}
|
||||||
${COREFOUNDATION_LIBRARY}
|
${COREFOUNDATION_LIBRARY}
|
||||||
rtaudio
|
rtaudio
|
||||||
tomahawklib
|
tomahawklib
|
||||||
)
|
)
|
||||||
|
@@ -7,8 +7,8 @@ ENDIF()
|
|||||||
SET( QT_USE_QTSQL TRUE )
|
SET( QT_USE_QTSQL TRUE )
|
||||||
SET( QT_USE_QTNETWORK TRUE )
|
SET( QT_USE_QTNETWORK TRUE )
|
||||||
SET( QT_USE_QTXML TRUE )
|
SET( QT_USE_QTXML TRUE )
|
||||||
INCLUDE( ${QT_USE_FILE} )
|
|
||||||
|
|
||||||
|
INCLUDE( ${QT_USE_FILE} )
|
||||||
INCLUDE( ${CMAKE_MODULE_PATH}/AddAppIconMacro.cmake )
|
INCLUDE( ${CMAKE_MODULE_PATH}/AddAppIconMacro.cmake )
|
||||||
|
|
||||||
#SET( CMAKE_BUILD_TYPE "Release" )
|
#SET( CMAKE_BUILD_TYPE "Release" )
|
||||||
@@ -40,20 +40,18 @@ SET( tomahawkSources ${tomahawkSources}
|
|||||||
infosystem/infoplugins/echonestplugin.cpp
|
infosystem/infoplugins/echonestplugin.cpp
|
||||||
infosystem/infoplugins/musixmatchplugin.cpp
|
infosystem/infoplugins/musixmatchplugin.cpp
|
||||||
|
|
||||||
musicscanner.cpp
|
|
||||||
scriptresolver.cpp
|
|
||||||
|
|
||||||
scrobbler.cpp
|
|
||||||
xmppbot/xmppbot.cpp
|
xmppbot/xmppbot.cpp
|
||||||
web/api_v1.cpp
|
web/api_v1.cpp
|
||||||
|
|
||||||
|
musicscanner.cpp
|
||||||
|
scriptresolver.cpp
|
||||||
|
scrobbler.cpp
|
||||||
|
|
||||||
tomahawkapp.cpp
|
tomahawkapp.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
||||||
xspfloader.cpp
|
|
||||||
|
|
||||||
utils/querylabel.cpp
|
utils/querylabel.cpp
|
||||||
utils/elidedlabel.cpp
|
utils/elidedlabel.cpp
|
||||||
utils/imagebutton.cpp
|
utils/imagebutton.cpp
|
||||||
@@ -100,16 +98,16 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
|||||||
widgets/newplaylistwidget.cpp
|
widgets/newplaylistwidget.cpp
|
||||||
widgets/welcomewidget.cpp
|
widgets/welcomewidget.cpp
|
||||||
|
|
||||||
|
xspfloader.cpp
|
||||||
transferview.cpp
|
transferview.cpp
|
||||||
tomahawkwindow.cpp
|
|
||||||
tomahawktrayicon.cpp
|
tomahawktrayicon.cpp
|
||||||
audiocontrols.cpp
|
audiocontrols.cpp
|
||||||
settingsdialog.cpp
|
settingsdialog.cpp
|
||||||
|
tomahawkwindow.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( tomahawkHeaders ${tomahawkHeaders}
|
SET( tomahawkHeaders ${tomahawkHeaders}
|
||||||
"${TOMAHAWK_INC_DIR}/tomahawk/tomahawkapp.h"
|
"${TOMAHAWK_INC_DIR}/tomahawk/tomahawkapp.h"
|
||||||
|
|
||||||
"${TOMAHAWK_INC_DIR}/tomahawk/infosystem.h"
|
"${TOMAHAWK_INC_DIR}/tomahawk/infosystem.h"
|
||||||
|
|
||||||
audio/transcodeinterface.h
|
audio/transcodeinterface.h
|
||||||
@@ -123,17 +121,15 @@ SET( tomahawkHeaders ${tomahawkHeaders}
|
|||||||
infosystem/infoplugins/echonestplugin.h
|
infosystem/infoplugins/echonestplugin.h
|
||||||
infosystem/infoplugins/musixmatchplugin.h
|
infosystem/infoplugins/musixmatchplugin.h
|
||||||
|
|
||||||
musicscanner.h
|
|
||||||
scriptresolver.h
|
|
||||||
|
|
||||||
scrobbler.h
|
|
||||||
xmppbot/xmppbot.h
|
xmppbot/xmppbot.h
|
||||||
web/api_v1.h
|
web/api_v1.h
|
||||||
|
|
||||||
|
musicscanner.h
|
||||||
|
scriptresolver.h
|
||||||
|
scrobbler.h
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
||||||
xspfloader.h
|
|
||||||
|
|
||||||
utils/querylabel.h
|
utils/querylabel.h
|
||||||
utils/elidedlabel.h
|
utils/elidedlabel.h
|
||||||
utils/animatedcounterlabel.h
|
utils/animatedcounterlabel.h
|
||||||
@@ -181,11 +177,12 @@ SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
|||||||
widgets/newplaylistwidget.h
|
widgets/newplaylistwidget.h
|
||||||
widgets/welcomewidget.h
|
widgets/welcomewidget.h
|
||||||
|
|
||||||
|
xspfloader.h
|
||||||
transferview.h
|
transferview.h
|
||||||
tomahawkwindow.h
|
|
||||||
tomahawktrayicon.h
|
tomahawktrayicon.h
|
||||||
audiocontrols.h
|
audiocontrols.h
|
||||||
settingsdialog.h
|
settingsdialog.h
|
||||||
|
tomahawkwindow.h
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( tomahawkUI ${tomahawkUI}
|
SET( tomahawkUI ${tomahawkUI}
|
||||||
@@ -196,6 +193,7 @@ SET( tomahawkUI ${tomahawkUI}
|
|||||||
audiocontrols.ui
|
audiocontrols.ui
|
||||||
sourcetree/sourcetreeitemwidget.ui
|
sourcetree/sourcetreeitemwidget.ui
|
||||||
topbar/topbar.ui
|
topbar/topbar.ui
|
||||||
|
|
||||||
infowidgets/sourceinfowidget.ui
|
infowidgets/sourceinfowidget.ui
|
||||||
widgets/newplaylistwidget.ui
|
widgets/newplaylistwidget.ui
|
||||||
widgets/welcomewidget.ui
|
widgets/welcomewidget.ui
|
||||||
@@ -247,9 +245,9 @@ SET( final_src ${final_src} ${tomahawkMoc} ${tomahawkSources} ${tomahawkHeaders}
|
|||||||
|
|
||||||
IF( "${gui}" STREQUAL "no" )
|
IF( "${gui}" STREQUAL "no" )
|
||||||
ELSE()
|
ELSE()
|
||||||
qt4_wrap_ui( tomahawkUI_H ${tomahawkUI} )
|
qt4_wrap_ui( tomahawkUI_H ${tomahawkUI} )
|
||||||
qt4_wrap_cpp( tomahawkMocGui ${tomahawkHeadersGui} )
|
qt4_wrap_cpp( tomahawkMocGui ${tomahawkHeadersGui} )
|
||||||
SET( final_src ${final_src} ${tomahawkUI_H} ${tomahawkMocGui} ${tomahawkSourcesGui} ${RC_SRCS} )
|
SET( final_src ${final_src} ${tomahawkUI_H} ${tomahawkMocGui} ${tomahawkSourcesGui} ${RC_SRCS} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF( UNIX AND NOT APPLE )
|
IF( UNIX AND NOT APPLE )
|
||||||
|
@@ -13,16 +13,17 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
|
|||||||
)
|
)
|
||||||
|
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
mad
|
mad
|
||||||
vorbisfile
|
vorbisfile
|
||||||
ogg
|
ogg
|
||||||
FLAC++
|
FLAC++
|
||||||
)
|
)
|
||||||
|
|
||||||
IF( APPLE )
|
IF( APPLE )
|
||||||
INCLUDE( "CMakeLists.osx.txt" )
|
INCLUDE( "CMakeLists.osx.txt" )
|
||||||
ENDIF( APPLE )
|
ENDIF( APPLE )
|
||||||
|
|
||||||
IF( UNIX AND NOT APPLE )
|
IF( UNIX AND NOT APPLE )
|
||||||
INCLUDE( "CMakeLists.linux.txt" )
|
INCLUDE( "CMakeLists.linux.txt" )
|
||||||
ENDIF( UNIX AND NOT APPLE )
|
ENDIF( UNIX AND NOT APPLE )
|
||||||
|
@@ -9,47 +9,47 @@ ADD_DEFINITIONS( -static-libgcc )
|
|||||||
|
|
||||||
# Add manual locations to stuff:
|
# Add manual locations to stuff:
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
../../libmad-0.15.1b
|
../../libmad-0.15.1b
|
||||||
../../boost_1_43_0
|
../../boost_1_43_0
|
||||||
../../gloox-1.0
|
../../gloox-1.0
|
||||||
../../qjson
|
../../qjson
|
||||||
../../liblastfm/_include
|
../../liblastfm/_include
|
||||||
../../taglib-1.6.3/
|
../../taglib-1.6.3/
|
||||||
../../taglib-1.6.3/build
|
../../taglib-1.6.3/build
|
||||||
../../taglib-1.6.3/taglib
|
../../taglib-1.6.3/taglib
|
||||||
../../taglib-1.6.3/taglib/toolkit
|
../../taglib-1.6.3/taglib/toolkit
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
SET( GLOOX_LIBS
|
SET( GLOOX_LIBS
|
||||||
${GLOOX_LIBS}
|
${GLOOX_LIBS}
|
||||||
gloox
|
gloox
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${LIBLASTFM_LIBRARY}
|
${LIBLASTFM_LIBRARY}
|
||||||
${GLOOX_LIBS}
|
${GLOOX_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
"secur32.dll"
|
"secur32.dll"
|
||||||
"crypt32.dll"
|
"crypt32.dll"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/../qxt/qxtweb-standalone/libqxtweb-standalone.dll"
|
"${CMAKE_CURRENT_SOURCE_DIR}/../qxt/qxtweb-standalone/libqxtweb-standalone.dll"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/../build/src/libtomahawk/libtomahawklib.dll"
|
"${CMAKE_CURRENT_SOURCE_DIR}/../build/src/libtomahawk/libtomahawklib.dll"
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( tomahawkSourcesGui ${tomahawkSourcesGui} audio/rtaudiooutput.cpp )
|
SET( tomahawkSourcesGui ${tomahawkSourcesGui} audio/rtaudiooutput.cpp )
|
||||||
SET( tomahawkHeadersGui ${tomahawkHeadersGui} audio/rtaudiooutput.h )
|
SET( tomahawkHeadersGui ${tomahawkHeadersGui} audio/rtaudiooutput.h )
|
||||||
|
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
"dsound.dll"
|
"dsound.dll"
|
||||||
"winmm.dll"
|
"winmm.dll"
|
||||||
"iphlpapi.a"
|
"iphlpapi.a"
|
||||||
"mad"
|
"mad"
|
||||||
"vorbisfile"
|
"vorbisfile"
|
||||||
"ogg"
|
"ogg"
|
||||||
"FLAC++"
|
"FLAC++"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/../rtaudio/librtaudio.dll"
|
"${CMAKE_CURRENT_SOURCE_DIR}/../rtaudio/librtaudio.dll"
|
||||||
)
|
)
|
||||||
|
@@ -3,127 +3,124 @@ project( tomahawklib )
|
|||||||
SET( QT_USE_QTSQL TRUE )
|
SET( QT_USE_QTSQL TRUE )
|
||||||
SET( QT_USE_QTNETWORK TRUE )
|
SET( QT_USE_QTNETWORK TRUE )
|
||||||
SET( QT_USE_QTXML TRUE )
|
SET( QT_USE_QTXML TRUE )
|
||||||
|
|
||||||
include( ${QT_USE_FILE} )
|
include( ${QT_USE_FILE} )
|
||||||
|
|
||||||
add_definitions( ${QT_DEFINITIONS} )
|
add_definitions( ${QT_DEFINITIONS} )
|
||||||
add_definitions( -DQT_SHARED )
|
add_definitions( -DQT_SHARED )
|
||||||
add_definitions( -DDLLEXPORT_PRO )
|
add_definitions( -DDLLEXPORT_PRO )
|
||||||
|
|
||||||
set( libSources
|
set( libSources
|
||||||
tomahawksettings.cpp
|
tomahawksettings.cpp
|
||||||
sourcelist.cpp
|
sourcelist.cpp
|
||||||
pipeline.cpp
|
pipeline.cpp
|
||||||
|
artist.cpp
|
||||||
|
album.cpp
|
||||||
|
collection.cpp
|
||||||
|
playlist.cpp
|
||||||
|
pluginapi.cpp
|
||||||
|
query.cpp
|
||||||
|
result.cpp
|
||||||
|
source.cpp
|
||||||
|
|
||||||
artist.cpp
|
sip/SipPlugin.cpp
|
||||||
album.cpp
|
|
||||||
collection.cpp
|
|
||||||
playlist.cpp
|
|
||||||
pluginapi.cpp
|
|
||||||
query.cpp
|
|
||||||
result.cpp
|
|
||||||
source.cpp
|
|
||||||
|
|
||||||
sip/SipPlugin.cpp
|
database/database.cpp
|
||||||
|
database/databasecollection.cpp
|
||||||
|
database/databaseworker.cpp
|
||||||
|
database/databaseimpl.cpp
|
||||||
|
database/databaseresolver.cpp
|
||||||
|
database/databasecommand.cpp
|
||||||
|
database/databasecommandloggable.cpp
|
||||||
|
database/databasecommand_resolve.cpp
|
||||||
|
database/databasecommand_allalbums.cpp
|
||||||
|
database/databasecommand_alltracks.cpp
|
||||||
|
database/databasecommand_addfiles.cpp
|
||||||
|
database/databasecommand_dirmtimes.cpp
|
||||||
|
database/databasecommand_loadfile.cpp
|
||||||
|
database/databasecommand_logplayback.cpp
|
||||||
|
database/databasecommand_addsource.cpp
|
||||||
|
database/databasecommand_sourceoffline.cpp
|
||||||
|
database/databasecommand_collectionstats.cpp
|
||||||
|
database/databasecommand_loadplaylistentries.cpp
|
||||||
|
database/databasecommand_modifyplaylist.cpp
|
||||||
|
database/databasecommand_playbackhistory.cpp
|
||||||
|
database/databasecommand_setplaylistrevision.cpp
|
||||||
|
database/databasecommand_loadallplaylists.cpp
|
||||||
|
database/databasecommand_createplaylist.cpp
|
||||||
|
database/databasecommand_deleteplaylist.cpp
|
||||||
|
database/databasecommand_renameplaylist.cpp
|
||||||
|
database/databasecommand_loadops.cpp
|
||||||
|
database/databasecommand_updatesearchindex.cpp
|
||||||
|
database/fuzzyindex.cpp
|
||||||
|
|
||||||
network/bufferiodevice.cpp
|
network/bufferiodevice.cpp
|
||||||
network/msgprocessor.cpp
|
network/msgprocessor.cpp
|
||||||
network/filetransferconnection.cpp
|
network/filetransferconnection.cpp
|
||||||
network/dbsyncconnection.cpp
|
network/dbsyncconnection.cpp
|
||||||
network/remotecollection.cpp
|
network/remotecollection.cpp
|
||||||
network/portfwdthread.cpp
|
network/portfwdthread.cpp
|
||||||
|
network/servent.cpp
|
||||||
database/fuzzyindex.cpp
|
network/connection.cpp
|
||||||
database/databaseworker.cpp
|
network/controlconnection.cpp
|
||||||
database/databaseimpl.cpp
|
|
||||||
database/databaseresolver.cpp
|
|
||||||
database/databasecommand.cpp
|
|
||||||
database/databasecommandloggable.cpp
|
|
||||||
database/databasecommand_resolve.cpp
|
|
||||||
database/databasecommand_allalbums.cpp
|
|
||||||
database/databasecommand_alltracks.cpp
|
|
||||||
database/databasecommand_addfiles.cpp
|
|
||||||
database/databasecommand_dirmtimes.cpp
|
|
||||||
database/databasecommand_loadfile.cpp
|
|
||||||
database/databasecommand_logplayback.cpp
|
|
||||||
database/databasecommand_addsource.cpp
|
|
||||||
database/databasecommand_sourceoffline.cpp
|
|
||||||
database/databasecommand_collectionstats.cpp
|
|
||||||
database/databasecommand_loadplaylistentries.cpp
|
|
||||||
database/databasecommand_modifyplaylist.cpp
|
|
||||||
database/databasecommand_playbackhistory.cpp
|
|
||||||
database/databasecommand_setplaylistrevision.cpp
|
|
||||||
database/databasecommand_loadallplaylists.cpp
|
|
||||||
database/databasecommand_createplaylist.cpp
|
|
||||||
database/databasecommand_deleteplaylist.cpp
|
|
||||||
database/databasecommand_renameplaylist.cpp
|
|
||||||
database/databasecommand_loadops.cpp
|
|
||||||
database/databasecommand_updatesearchindex.cpp
|
|
||||||
database/databasecollection.cpp
|
|
||||||
|
|
||||||
database/database.cpp
|
|
||||||
|
|
||||||
network/servent.cpp
|
|
||||||
network/connection.cpp
|
|
||||||
network/controlconnection.cpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set( libHeaders
|
set( libHeaders
|
||||||
tomahawksettings.h
|
tomahawksettings.h
|
||||||
sourcelist.h
|
sourcelist.h
|
||||||
pipeline.h
|
pipeline.h
|
||||||
functimeout.h
|
functimeout.h
|
||||||
|
collection.h
|
||||||
|
pluginapi.h
|
||||||
|
query.h
|
||||||
|
resolver.h
|
||||||
|
result.h
|
||||||
|
source.h
|
||||||
|
artist.h
|
||||||
|
album.h
|
||||||
|
track.h
|
||||||
|
playlist.h
|
||||||
|
|
||||||
collection.h
|
sip/SipPlugin.h
|
||||||
pluginapi.h
|
|
||||||
query.h
|
|
||||||
resolver.h
|
|
||||||
result.h
|
|
||||||
source.h
|
|
||||||
|
|
||||||
artist.h
|
database/database.h
|
||||||
album.h
|
database/databasecollection.h
|
||||||
track.h
|
database/databaseworker.h
|
||||||
playlist.h
|
database/databaseimpl.h
|
||||||
|
database/databaseresolver.h
|
||||||
|
database/databasecommand.h
|
||||||
|
database/databasecommandloggable.h
|
||||||
|
database/databasecommand_resolve.h
|
||||||
|
database/databasecommand_allalbums.h
|
||||||
|
database/databasecommand_alltracks.h
|
||||||
|
database/databasecommand_addfiles.h
|
||||||
|
database/databasecommand_dirmtimes.h
|
||||||
|
database/databasecommand_loadfile.h
|
||||||
|
database/databasecommand_logplayback.h
|
||||||
|
database/databasecommand_addsource.h
|
||||||
|
database/databasecommand_sourceoffline.h
|
||||||
|
database/databasecommand_collectionstats.h
|
||||||
|
database/databasecommand_loadplaylistentries.h
|
||||||
|
database/databasecommand_modifyplaylist.h
|
||||||
|
database/databasecommand_playbackhistory.h
|
||||||
|
database/databasecommand_setplaylistrevision.h
|
||||||
|
database/databasecommand_loadallplaylists.h
|
||||||
|
database/databasecommand_createplaylist.h
|
||||||
|
database/databasecommand_deleteplaylist.h
|
||||||
|
database/databasecommand_renameplaylist.h
|
||||||
|
database/databasecommand_loadops.h
|
||||||
|
database/databasecommand_updatesearchindex.h
|
||||||
|
database/fuzzyindex.h
|
||||||
|
|
||||||
sip/SipPlugin.h
|
network/bufferiodevice.h
|
||||||
|
network/msgprocessor.h
|
||||||
database/database.h
|
network/remotecollection.h
|
||||||
database/fuzzyindex.h
|
network/filetransferconnection.h
|
||||||
database/databaseworker.h
|
network/dbsyncconnection.h
|
||||||
database/databaseimpl.h
|
network/servent.h
|
||||||
database/databaseresolver.h
|
network/connection.h
|
||||||
database/databasecommand.h
|
network/controlconnection.h
|
||||||
database/databasecommandloggable.h
|
network/portfwdthread.h
|
||||||
database/databasecommand_resolve.h
|
|
||||||
database/databasecommand_allalbums.h
|
|
||||||
database/databasecommand_alltracks.h
|
|
||||||
database/databasecommand_addfiles.h
|
|
||||||
database/databasecommand_dirmtimes.h
|
|
||||||
database/databasecommand_loadfile.h
|
|
||||||
database/databasecommand_logplayback.h
|
|
||||||
database/databasecommand_addsource.h
|
|
||||||
database/databasecommand_sourceoffline.h
|
|
||||||
database/databasecommand_collectionstats.h
|
|
||||||
database/databasecommand_loadplaylistentries.h
|
|
||||||
database/databasecommand_modifyplaylist.h
|
|
||||||
database/databasecommand_playbackhistory.h
|
|
||||||
database/databasecommand_setplaylistrevision.h
|
|
||||||
database/databasecommand_loadallplaylists.h
|
|
||||||
database/databasecommand_createplaylist.h
|
|
||||||
database/databasecommand_deleteplaylist.h
|
|
||||||
database/databasecommand_renameplaylist.h
|
|
||||||
database/databasecommand_loadops.h
|
|
||||||
database/databasecommand_updatesearchindex.h
|
|
||||||
database/databasecollection.h
|
|
||||||
|
|
||||||
network/bufferiodevice.h
|
|
||||||
network/msgprocessor.h
|
|
||||||
network/remotecollection.h
|
|
||||||
network/filetransferconnection.h
|
|
||||||
network/dbsyncconnection.h
|
|
||||||
network/servent.h
|
|
||||||
network/connection.h
|
|
||||||
network/controlconnection.h
|
|
||||||
network/portfwdthread.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
||||||
@@ -139,18 +136,18 @@ add_library( tomahawklib SHARED ${libSources} ${libMoc} )
|
|||||||
|
|
||||||
IF( WIN32 )
|
IF( WIN32 )
|
||||||
SET( OS_SPECIFIC_LINK_LIBRARIES
|
SET( OS_SPECIFIC_LINK_LIBRARIES
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
"iphlpapi.a"
|
"iphlpapi.a"
|
||||||
"ws2_32.dll"
|
"ws2_32.dll"
|
||||||
"dnsapi.dll"
|
"dnsapi.dll"
|
||||||
)
|
)
|
||||||
ENDIF( WIN32 )
|
ENDIF( WIN32 )
|
||||||
|
|
||||||
target_link_libraries( tomahawklib
|
target_link_libraries( tomahawklib
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
${OS_SPECIFIC_LINK_LIBRARIES}
|
${OS_SPECIFIC_LINK_LIBRARIES}
|
||||||
portfwd
|
portfwd
|
||||||
qjson
|
qjson
|
||||||
)
|
)
|
||||||
|
|
||||||
install( TARGETS tomahawklib DESTINATION lib )
|
install( TARGETS tomahawklib DESTINATION lib )
|
||||||
|
Reference in New Issue
Block a user