<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 26/01/2022 à 20:56, Joaquim Manuel
      Freire Luís a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:AM6PR04MB3959E212E52580A05B514959A6209@AM6PR04MB3959.eurprd04.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@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;}span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}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]-->
      <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.</span></p>
        </blockquote>
      </div>
    </blockquote>
    <p>Sounds reasonable if you want to make a pull request for that (in
      gdal.cmake in the root directory). No reason to restrict it to
      WIN32 however. Maybe call the variable GDAL_LIBRARY_OUTPUT_NAME ?
      And document it in doc/source/build_hints.rst</p>
    <p>Actually you could make it a option() and modify line 259 of
      gdal.cmake (set_target_properties(${GDAL_LIB_TARGET_NAME}
      PROPERTIES OUTPUT_NAME "gdal")) to use it.<br>
    </p>
    <blockquote type="cite"
cite="mid:AM6PR04MB3959E212E52580A05B514959A6209@AM6PR04MB3959.eurprd04.prod.outlook.com">
      <div class="WordSection1">
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p><span lang="EN-US"><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>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>