<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 http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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=FR-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>T</span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>hank you very much .<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 work now on window<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'>Best regards<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 style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mparchet <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><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=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Brett Delle Grazie [mailto:brett.dellegrazie@gmail.com] <br><b>Envoyé :</b> lundi 14 janvier 2013 14:42<br><b>À :</b> Parchet Michaël<br><b>Cc :</b> KDE on Windows; cmake@cmake.org<br><b>Objet :</b> Re: [CMake] How to set the cmake variable on windows<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>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></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-right:0cm'><p class=MsoNormal><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" ..."<o:p></o:p></p><div><div><p class=MsoNormal>><br>> On 10/01/2013, Parchet Michaël <<a href="mailto:mparchet@sunrise.ch">mparchet@sunrise.ch</a>> wrote:<br>>> My compilretr is minGW.<br>>><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></p></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Which generator are you using?<o:p></o:p></p></div><div><p class=MsoNormal>I use:<o:p></o:p></p></div><div><p class=MsoNormal>cmake -G"MinGW Makefiles" <path to source dir><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I believe the default generator on windows is Microsoft's' compilers, hence the problem with CL.exe.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Assumptions:<o:p></o:p></p></div><div><p class=MsoNormal>This presumes standard MinGW32 compilers are available on the path - for me this is C:\MinGW\bin<o:p></o:p></p></div><div><p class=MsoNormal>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></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You shouldn't need to set CXX or CC environment variables but you can do so as a last resort.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Note that "make" in this case (windows command prompt) is usually: mingw32-make, not gmake or make<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Good luck,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Brett<o:p></o:p></p></div><div><p class=MsoNormal>  <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal>>><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></p></div></div><p class=MsoNormal>> _______________________________________________<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></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>