<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As Patrick already told  on Jan.10, you have to use<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>   cmake -G"MinGW Makefiles"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>To tell CMake what type of Makefiles you want. Use<o:p></o:p></span></p><p class=MsoNormal style='text-indent:4.5pt'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> cmake --help<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>To see all available parameters for -G<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Michael<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> kde-windows-bounces@kde.org [mailto:kde-windows-bounces@kde.org] <b>On Behalf Of </b>Parchet Michaël<br><b>Sent:</b> Monday, January 14, 2013 5:52 PM<br><b>To:</b> bdellegrazie@iee.org<br><b>Cc:</b> 'KDE on Windows'; cmake@cmake.org<br><b>Subject:</b> RE: [CMake] How to set the cmake variable on windows<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I call cmake with this command line.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cmake CMakeLis</span><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>t.<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is it correct ?<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tanks for your answer.<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CH style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mparchet<o:p></o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Brett Delle Grazie [<a href="mailto:brett.dellegrazie@gmail.com">mailto:brett.dellegrazie@gmail.com</a>] <br><b>Envoyé :</b> lundi 14 janvier 2013 14:42<br><b>À :</b> Parchet Michaël<br><b>Cc :</b> KDE on Windows; <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br><b>Objet :</b> Re: [CMake] How to set the cmake variable on windows<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal><span lang=FR-CH>On 10 January 2013 22:28, Parchet Michaël <<a href="mailto:mparchet@sunrise.ch" target="_blank">mparchet@sunrise.ch</a>> wrote:<o:p></o:p></span></p></div><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><p class=MsoNormal><span lang=FR-CH><br>Hello,<br><br>How can I set minGW as default cmake compiler on windows ?<br>Tanks for your answer.<br><br>Regards<br><br>mparchet<br>Le 10 janv. 2013 à 22:47, Patrick von Reth <<a href="mailto:patrick.vonreth@gmail.com">patrick.vonreth@gmail.com</a>> a écrit :<br><br>> Hi you have to use "cmake -G"MinGW Makefiles" ..."<span style='color:#1F497D'><o:p></o:p></span></span></p><div><div><p class=MsoNormal><span lang=EN-US>><br>> On 10/01/2013, Parchet Michaël <</span><span lang=FR-CH><a href="mailto:mparchet@sunrise.ch"><span lang=EN-US>mparchet@sunrise.ch</span></a></span><span lang=EN-US>> wrote:<br>>> My compilretr is minGW.<br></span><span lang=FR-CH>>><br>>><br>>><br>>> De : Parchet Michaël [mailto:<a href="mailto:mparchet@sunrise.ch">mparchet@sunrise.ch</a>]<br>>> Envoyé : jeudi 10 janvier 2013 21:36<br>>> À : <a href="mailto:cmake@cmake.org">cmake@cmake.org</a>; 'KDE on Windows'<br>>> Objet : How to set the cmake variable on windows<br>>><br>>><br>>><br>>> Hello,<br>>><br>>><br>>><br>>> When I try to execute cmake on the terminal on windows, I get an error.<br>>> (See<br>>> attachment).<br>>><br>>><br>>><br>>> It seems that some variables aren’t set.<br>>><o:p></o:p></span></p></div></div></blockquote><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Which generator are you using?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>I use:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>cmake -G"MinGW Makefiles" <path to source dir><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>I believe the default generator on windows is Microsoft's' compilers, hence the problem with CL.exe.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Assumptions:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>This presumes standard MinGW32 compilers are available on the path - for me this is C:\MinGW\bin<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Do not put the MSYS shell (C:\MinGW\msys\1.0\bin) on the path as well or CMake will complain.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>You shouldn't need to set CXX or CC environment variables but you can do so as a last resort.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Note that "make" in this case (windows command prompt) is usually: mingw32-make, not gmake or make<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Good luck,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>Brett<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=FR-CH>  <o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span lang=FR-CH>>><br>>><br>>> Are there environmental variables or variables set in a specific file.<br>>><br>>><br>>><br>>> Thanks a lot your support<br>>><br>>><br>>><br>>> Happy new year.<br>>><br>>><br>>><br>>> Best regards<br>>><br>>><br>>><br>>> mparchet<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=FR-CH>> _______________________________________________<br>> Kde-windows mailing list<br>> <a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>> <a href="https://mail.kde.org/mailman/listinfo/kde-windows" target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br>--<br><br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><o:p></o:p></span></p></blockquote></div><p class=MsoNormal><span lang=FR-CH><o:p> </o:p></span></p></div></div></div></div></body></html>