[CMake] [mingw + cmake] Porting code from mac os x to windows

2012-03-27 Thread Jean-Philippe Doyon
Dear all, I use mingw to port my code from mac to windows. For that, I have to indicate the compiler used by cmake to that of mingw. That is set CMAKE_CXX_COMPILER to "i386-mingw32-g++" (which compiles a binary for windows). You can see the command and the error below. cmake -DCMAKE_INSTA

Re: [CMake] [mingw + cmake] Porting code from mac os x to windows

2012-03-27 Thread Eric Noulard
2012/3/27 Jean-Philippe Doyon : > Dear all, > >         I use mingw to port my code from mac to windows. For that, I > have to indicate the compiler used by cmake to that of mingw. > That is set CMAKE_CXX_COMPILER to "i386-mingw32-g++" (which compiles a > binary for windows). You can see the comman

Re: [CMake] [mingw + cmake] Porting code from mac os x to windows

2012-03-27 Thread Andreas Mohr
Hi, On Wed, Mar 28, 2012 at 02:01:41AM -0400, cmake-requ...@cmake.org wrote: > Date: Tue, 27 Mar 2012 18:20:57 +0200 > From: Jean-Philippe Doyon > Subject: [CMake] [mingw + cmake] Porting code from mac os x to windows > To: cmake@cmake.org > Message-ID: > > Con