[CMake] Question of using cmake in Windows
jici gao
jici.gao at netronome.com
Mon Jun 23 12:24:49 EDT 2014
Hi,
I am using cmake (3.0.0) to setup environment for my compiling on Windows
and require mingw-w64 compiler. I pretty much followed your instruction
with Method 2 here:
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_a_different_compiler.3F
But cmake output always showed that it is building for Visual Studio 12
2013 and the c compiler identification is MSVC 18.0.21005.1 not the
mingw-w64 compiler I want.
I usually deleted all files under the build subdir to remove cached stuff
before start over.
However the cmake gui version is much better which allows to delete the
cached stuff and then I can specify the generator for the making, say
MinGW. I was able to specify the right compiler.
So why only cmake gui version works for me, not the cmake command?
Thanks in advance.
Jici
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140623/7f6ecf4a/attachment.html>
More information about the CMake
mailing list