summaryrefslogtreecommitdiff
path: root/cmake/Toolchain-mingw32.cmake
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2011-03-15 17:17:10 +0100
committerMichal Čihař <michal@cihar.com>2011-03-15 17:17:10 +0100
commit477cceca6e30f94c6fe4673266a56804378ff935 (patch)
tree252bd68d654f98ac5726e347a1281aecc7c19d1e /cmake/Toolchain-mingw32.cmake
parent88e15062c1d36ed989ff154b1ecf644824a3728d (diff)
Imported Upstream version 1.29.92
Diffstat (limited to 'cmake/Toolchain-mingw32.cmake')
-rw-r--r--cmake/Toolchain-mingw32.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/Toolchain-mingw32.cmake b/cmake/Toolchain-mingw32.cmake
index bbca67f..ee7f550 100644
--- a/cmake/Toolchain-mingw32.cmake
+++ b/cmake/Toolchain-mingw32.cmake
@@ -6,6 +6,13 @@ SET(CMAKE_SYSTEM_NAME Windows)
# which compilers to use for C and C++
SET(CMAKE_C_COMPILER i686-pc-mingw32-gcc)
SET(CMAKE_CXX_COMPILER i686-pc-mingw32-g++)
+SET(CMAKE_AR i686-pc-mingw32-ar)
+SET(CMAKE_LD i686-pc-mingw32-ld)
+SET(CMAKE_NM i686-pc-mingw32-nm)
+SET(CMAKE_OBJCOPY i686-pc-mingw32-objcopy)
+SET(CMAKE_OBJDUMP i686-pc-mingw32-objdump)
+SET(CMAKE_RANLIB i686-pc-mingw32-ranlib)
+SET(CMAKE_STRIP i686-pc-mingw32-strip)
# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH /usr/i686-pc-mingw32/sys-root/mingw/ /home/mcihar/win-cross/crosscompiled)