1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 22:38:33 +01:00

Clean up our cross-compiling toolchain and track it finally in git :P

This commit is contained in:
Dominik Schmidt 2011-02-15 14:31:28 +01:00
parent dfa7df4d11
commit 7c8f6fda20

View File

@ -0,0 +1,18 @@
# this one is important
SET(CMAKE_SYSTEM_NAME Windows)
# specify the cross compiler
SET(CMAKE_C_COMPILER i686-pc-mingw32-gcc)
SET(CMAKE_CXX_COMPILER i686-pc-mingw32-g++)
# where is the target environment containing libraries
SET(CMAKE_FIND_ROOT_PATH /usr/i686-pc-mingw32/sys-root/mingw)
# windres executable for application icon support
set(WINDRES_EXECUTABLE /usr/bin/i686-pc-mingw32-windres)
# libs with broken find modules
set(TAGLIB_FOUND true)
set(GLOOX_LIBS ${CMAKE_FIND_ROOT_PATH}/lib/libgloox.dll.a)