1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-12 17:14:00 +02:00

Clean up win32 link targets.

This commit is contained in:
Dominik Schmidt
2011-02-14 21:27:09 +01:00
parent d9bc06a4f6
commit c5a29e42c1
4 changed files with 17 additions and 34 deletions

View File

@@ -4,43 +4,26 @@ ADD_DEFINITIONS( /DNOMINMAX )
ADD_DEFINITIONS( /DWIN32_LEAN_AND_MEAN )
ADD_DEFINITIONS( -static-libgcc )
#ADD_DEFINITIONS( /DNO_LIBLASTFM )
#ADD_DEFINITIONS( -DNO_OGG )
# Add manual locations to stuff:
INCLUDE_DIRECTORIES(
../../libmad-0.15.1b
../../boost_1_43_0
../../gloox-1.0
../../qjson
../../liblastfm/_include
../../taglib-1.6.3/
../../taglib-1.6.3/build
../../taglib-1.6.3/taglib
../../taglib-1.6.3/taglib/toolkit
)
SET( GLOOX_LIBS
${GLOOX_LIBS}
gloox
)
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# normal deps
${LIBLASTFM_LIBRARY}
${GLOOX_LIBS}
)
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
# third party shipped with tomahawk
${CMAKE_BINARY_DIR}/src/libtomahawk/libtomahawklib.dll
${CMAKE_SOURCE_DIR}/rtaudio/librtaudio.dll
${CMAKE_SOURCE_DIR}/qxt/qxtweb-standalone/libqxtweb-standalone.dll
# system libs
"secur32.dll"
"crypt32.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/../qxt/qxtweb-standalone/libqxtweb-standalone.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/../build/src/libtomahawk/libtomahawklib.dll"
)
SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
"iphlpapi.a"
"ws2_32.dll"
"dnsapi.dll"
"dsound.dll"
"winmm.dll"
"advapi32.dll"
)

View File

@@ -325,7 +325,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
"winmm.dll"
"advapi32.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/../../rtaudio/librtaudio.dll"
${CMAKE_SOURCE_DIR}/rtaudio/librtaudio.dll
)
ENDIF( WIN32 )

View File

@@ -33,7 +33,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
"secur32.dll"
"crypt32.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/../../../build/src/libtomahawk/libtomahawklib.dll"
${CMAKE_BINARY_DIR}/src/libtomahawk/libtomahawklib.dll
)
ENDIF( WIN32 )

View File

@@ -27,7 +27,7 @@ SET( OS_SPECIFIC_LINK_LIBRARIES
${OS_SPECIFIC_LINK_LIBRARIES}
"winmm.dll"
"iphlpapi.a"
"${CMAKE_CURRENT_SOURCE_DIR}/../../../build/src/libtomahawk/libtomahawklib.dll"
${CMAKE_BINARY_DIR}/src/libtomahawk/libtomahawklib.dll
)
ENDIF( WIN32 )