[CMake] Set compiler

Schoap D schoappied at gmail.com
Wed Jul 29 17:57:38 EDT 2009


2009/7/29 Michael Jackson <mike.jackson at bluequartz.net>

> If you are in a "pure" msys environment you may wan to try:
>
> cmake -G "MSYS Makefiles" [path to build directory]


Thanks, this works!
Much appreciated!



>
>
> 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
>>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090729/ab85ca3d/attachment.htm>


More information about the CMake mailing list