[CMake] Set compiler

Michael Jackson mike.jackson at bluequartz.net
Wed Jul 29 11:10:47 EDT 2009


If you are in a "pure" msys environment you may wan to try:

cmake -G "MSYS Makefiles" [path to build directory]

or cmake -G "MinGW Makefiles"
  if you are in MinGW command prompt ( like the one distributed with Qt)


_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Jul 29, 2009, at 10:57 AM, David Cole wrote:

> If you just run cmake inside your msys shell and use -G "Unix  
> Makefiles" it should all just work...
>
>
> On Wed, Jul 29, 2009 at 8:42 AM, schoappied <schoappied at gmail.com>  
> wrote:
> Hi,
>
> I want to use Cmake on Windows with mingw and msys. I want to use  
> cmake in the command line. How do I set the right compiler etc. to  
> use gcc?
>
> Thanks in advance,
>
> ~D
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list