1
0
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:
Christian Muehlhaeuser
2011-01-14 17:44:29 +01:00
parent 9c6e098841
commit d4c82bf4f7
5 changed files with 170 additions and 174 deletions

View File

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

View File

@@ -23,6 +23,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
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 )

View File

@@ -3,7 +3,9 @@ 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 )
@@ -12,7 +14,6 @@ set( libSources
tomahawksettings.cpp tomahawksettings.cpp
sourcelist.cpp sourcelist.cpp
pipeline.cpp pipeline.cpp
artist.cpp artist.cpp
album.cpp album.cpp
collection.cpp collection.cpp
@@ -24,14 +25,8 @@ set( libSources
sip/SipPlugin.cpp sip/SipPlugin.cpp
network/bufferiodevice.cpp database/database.cpp
network/msgprocessor.cpp database/databasecollection.cpp
network/filetransferconnection.cpp
network/dbsyncconnection.cpp
network/remotecollection.cpp
network/portfwdthread.cpp
database/fuzzyindex.cpp
database/databaseworker.cpp database/databaseworker.cpp
database/databaseimpl.cpp database/databaseimpl.cpp
database/databaseresolver.cpp database/databaseresolver.cpp
@@ -57,10 +52,14 @@ set( libSources
database/databasecommand_renameplaylist.cpp database/databasecommand_renameplaylist.cpp
database/databasecommand_loadops.cpp database/databasecommand_loadops.cpp
database/databasecommand_updatesearchindex.cpp database/databasecommand_updatesearchindex.cpp
database/databasecollection.cpp database/fuzzyindex.cpp
database/database.cpp
network/bufferiodevice.cpp
network/msgprocessor.cpp
network/filetransferconnection.cpp
network/dbsyncconnection.cpp
network/remotecollection.cpp
network/portfwdthread.cpp
network/servent.cpp network/servent.cpp
network/connection.cpp network/connection.cpp
network/controlconnection.cpp network/controlconnection.cpp
@@ -71,14 +70,12 @@ set( libHeaders
sourcelist.h sourcelist.h
pipeline.h pipeline.h
functimeout.h functimeout.h
collection.h collection.h
pluginapi.h pluginapi.h
query.h query.h
resolver.h resolver.h
result.h result.h
source.h source.h
artist.h artist.h
album.h album.h
track.h track.h
@@ -87,7 +84,7 @@ set( libHeaders
sip/SipPlugin.h sip/SipPlugin.h
database/database.h database/database.h
database/fuzzyindex.h database/databasecollection.h
database/databaseworker.h database/databaseworker.h
database/databaseimpl.h database/databaseimpl.h
database/databaseresolver.h database/databaseresolver.h
@@ -113,7 +110,7 @@ set( libHeaders
database/databasecommand_renameplaylist.h database/databasecommand_renameplaylist.h
database/databasecommand_loadops.h database/databasecommand_loadops.h
database/databasecommand_updatesearchindex.h database/databasecommand_updatesearchindex.h
database/databasecollection.h database/fuzzyindex.h
network/bufferiodevice.h network/bufferiodevice.h
network/msgprocessor.h network/msgprocessor.h