1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

Move Tomahawk application info into top-level CMakeLists.txt

This commit is contained in:
Dominik Schmidt
2011-03-02 04:34:59 +01:00
parent 528918831e
commit 643b8fac5d
3 changed files with 20 additions and 4 deletions

View File

@@ -1,6 +1,12 @@
#ifndef CONFIG_H_IN
#define CONFIG_H_IN
#cmakedefine ORGANIZATION_NAME "${ORGANIZATION_NAME}"
#cmakedefine ORGANIZATION_DOMAIN "${ORGANIZATION_DOMAIN}"
#cmakedefine APPLICATION_NAME "${APPLICATION_NAME}"
#cmakedefine VERSION "${VERSION}"
#define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
#cmakedefine SNOW_LEOPARD

View File

@@ -146,10 +146,10 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
#endif
qDebug() << "TomahawkApp thread:" << this->thread();
setOrganizationName( "Tomahawk" );
setOrganizationDomain( "tomahawk.org" );
setApplicationName( "Player" );
setApplicationVersion( "0.0.0" );
setOrganizationName( QLatin1String( ORGANIZATION_NAME ) );
setOrganizationDomain( QLatin1String( ORGANIZATION_DOMAIN ) );
setApplicationName( QLatin1String( APPLICATION_NAME ) );
setApplicationVersion( QLatin1String( VERSION ) );
registerMetaTypes();
setupLogfile();