<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
Dmitry, Thank you for starting the thread.<br>
I'm Hiroshi, a newbie as user and dev of GDAL. I'm OSM mapper.<br>
<br>
On 2017/10/28 06:06, Dmitry Baryshnikov wrote:<br>
</div>
<blockquote type="cite"
cite="mid:24279829-bc4c-cb12-03c6-2e13282f841b@gmail.com">
<meta http-equiv="Context-Type" content="text/html; charset=utf-8">
<p>As Even said it make sense to move discussion from this ticket
(<a class="moz-txt-link-freetext"
href="https://trac.osgeo.org/gdal/ticket/7080"
moz-do-not-send="true">https://trac.osgeo.org/gdal/ticket/7080</a>)
to the list.</p>
</blockquote>
<br>
The ticket (<a class="moz-txt-link-freetext"
href="https://trac.osgeo.org/gdal/ticket/7080">https://trac.osgeo.org/gdal/ticket/7080</a>)
is my proposal.<br>
I put it because there are significant improvements in CMake
ecosystem in recent days.<br>
<br>
- CMake support in Visual Studio 2017.<br>
(<a class="ext-link"
href="https://blogs.msdn.microsoft.com/vcblog/2016/10/05/cmake-support-in-visual-studio/"
style="text-decoration: none; color: rgb(187, 0, 0);
border-bottom: 1px dotted rgb(187, 187, 187); font-family:
Verdana, Arial, "Bitstream Vera Sans", Helvetica,
sans-serif; font-size: 13px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
221);">https://blogs.msdn.microsoft.com/vcblog/2016/10/05/cmake-support-in-visual-studio/</a>)<br>
VS17 bundles CMake 3.9 into their tool chains.<br>
It helps editing code and debugging a C/C++ project with
CMake.<br>
<br>
- JetBrains CLion only supports CMake.<br>
CLion appeared in 2014. Current CLion 2017.2 bundles CMake 3.8.<br>
<br>
<br>
When I made a small contribution for GML driver recently,<br>
I had a frustration to make changes on GDAL source tree.<br>
If changing code and unit test cycle become speedy, it would be
better.<br>
<br>
It is because I want to improve a development experience using C/C++
IDE.<br>
After short research, I reached a conclusion to use CMake with GDAL
source tree, <br>
and work with CLion IDE on my Linux laptop.<br>
<br>
<blockquote type="cite"
cite="mid:24279829-bc4c-cb12-03c6-2e13282f841b@gmail.com">
<p> </p>
<p>Finally:</p>
<p>Find the link to page with the CMake in GDAL discussion - <a
class="moz-txt-link-freetext"
href="https://trac.osgeo.org/gdal/wiki/CMake"
moz-do-not-send="true">https://trac.osgeo.org/gdal/wiki/CMake</a><br>
</p>
</blockquote>
<br>
Wiki news point
<a class="moz-txt-link-freetext" href="https://github.com/aashish24/gdal-svn/tree/cmake4gdal">https://github.com/aashish24/gdal-svn/tree/cmake4gdal</a> as a
repository.<br>
<br>
I tried it and catch up current GDAL tree. <br>
Unfortunately I didn't know Borsch project, <br>
and a dependency issue discussed here in some years ago.<br>
<br>
I eventually updated cmake4gdal scripts to be able to read from
CLion IDE on Linux/Windows.<br>
<a class="moz-txt-link-freetext" href="https://github.com/miurahr/gdal/tree/compile_with_cmake">https://github.com/miurahr/gdal/tree/compile_with_cmake</a><br>
<br>
It can build a library with many drivers, python/perl bindings on
Linux <br>
and update vagrant script to prepare clean compilation environment.<br>
It also run autotest from CMake by specifying --target autotest<br>
<br>
VS17 preview 2.0 can open this source tree as a VS native project on
Windows10.<br>
(compilation is not succeed)<br>
<br>
Hiroshi Miura<br>
</body>
</html>