<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="PT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p><span lang="EN-US">>Ah my if(MSVC) suggestion was because I wrongly assumed you used mingw (the _w64.dll >suffix made me thing of mingw64), but I see the VC14 so you use MSVC.
<o:p></o:p></span></p>
<p><span lang="EN-US">The “_w64.dll” (and _w32.dll) suffixes are the reason why I rebuild everything. Is there any way to set them in current cmake solution? It was possible with nmake but for cmake I’m using this patch to the root CMakeList.txt, which at a
 later stage, if there is no existing alternative, I would like to propose it’s official inclusion.<o:p></o:p></span></p>
<p><span lang="EN-US"><o:p> </o:p></span></p>
<p style="margin-right:.5in"><span lang="EN-US"># If a renaming of the dll has been set in ConfigUser.cmake<o:p></o:p></span></p>
<p style="margin-right:.5in"><span lang="EN-US">if (WIN32 AND GDAL_DLL_RENAME)<o:p></o:p></span></p>
<p style="mso-margin-top-alt:5.0pt;margin-right:.5in;margin-bottom:5.0pt;margin-left:.5in">
<span lang="EN-US">set_target_properties(GDAL PROPERTIES RUNTIME_OUTPUT_NAME ${GDAL_DLL_RENAME})<o:p></o:p></span></p>
<p><span lang="EN-US">endif (WIN32 AND GDAL_DLL_RENAME)<o:p></o:p></span></p>
</blockquote>
</div>
</body>
</html>