diff Resources/MinGW64Toolchain.cmake @ 571:ec2c2411d4db laaw

versioning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Sep 2013 15:03:24 +0200
parents a3d9acf37161
children
line wrap: on
line diff
--- a/Resources/MinGW64Toolchain.cmake	Wed Sep 25 14:01:01 2013 +0200
+++ b/Resources/MinGW64Toolchain.cmake	Wed Sep 25 15:03:24 2013 +0200
@@ -1,7 +1,7 @@
 # http://sourceforge.net/apps/trac/mingw-w64/wiki/GeneralUsageInstructions
 
 # the name of the target operating system
-SET(CMAKE_SYSTEM_NAME Windows)
+set(CMAKE_SYSTEM_NAME Windows)
 
 # Detect the prefix of the mingw-w64 compiler
 execute_process(
@@ -17,12 +17,12 @@
 endif()
   
 # which compilers to use for C and C++
-SET(CMAKE_C_COMPILER ${MINGW64_PREFIX}-w64-mingw32-gcc)
-SET(CMAKE_CXX_COMPILER ${MINGW64_PREFIX}-w64-mingw32-g++)
-SET(CMAKE_RC_COMPILER ${MINGW64_PREFIX}-w64-mingw32-windres)
+set(CMAKE_C_COMPILER ${MINGW64_PREFIX}-w64-mingw32-gcc)
+set(CMAKE_CXX_COMPILER ${MINGW64_PREFIX}-w64-mingw32-g++)
+set(CMAKE_RC_COMPILER ${MINGW64_PREFIX}-w64-mingw32-windres)
 
 # here is the target environment located
-SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
+set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
 
 # adjust the default behaviour of the FIND_XXX() commands:
 # search headers and libraries in the target environment, search 
@@ -30,5 +30,3 @@
 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
-
-SET(CMAKE_RC_COMPILE_OBJECT "${CMAKE_RC_COMPILER} -O coff -I${CMAKE_CURRENT_SOURCE_DIR} <SOURCE> <OBJECT>")