<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Brad.</p>
<p>Yes you are right. Just do this steps:</p>
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; margin-top: 0px; margin-bottom: 16px; word-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: rgb(246, 248, 250); border-radius: 3px; color: rgb(36, 41, 46); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; padding: 0px; margin: 0px; background: transparent; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;">git clone <a class="moz-txt-link-freetext" href="https://github.com/nextgis-borsch/lib_gdal.git">https://github.com/nextgis-borsch/lib_gdal.git</a> gdal
cd gdal
mkdir build
cd build
cmake ..
cmake --build .</code></pre>
<p>Some discussion was in this ticket
(<a class="moz-txt-link-freetext" href="https://github.com/nextgis-borsch/lib_gdal/issues/13">https://github.com/nextgis-borsch/lib_gdal/issues/13</a>).<br>
</p>
<p>There are 3 scenarios supported by lib_gdal now:</p>
<p>1. Build gdal with all dependencies getting them from github
(WITH_EXTERNAL). Preferable for Windows</p>
<p>2. Build gdal using the system libraries. Preferable for Linux</p>
<p>3. Build gdal using the dependency libraries build by user (out
of source) and registered in CMake package registry. This is I use
now. This script help me to clone all libraries, build them and
register them in CMake package registry
(<a class="moz-txt-link-freetext" href="https://github.com/nextgis-borsch/borsch/blob/master/opt/tools.py#L134">https://github.com/nextgis-borsch/borsch/blob/master/opt/tools.py#L134</a>).<br>
</p>
<pre class="moz-signature" cols="72">Best regards,
Dmitry</pre>
<div class="moz-cite-prefix">29.10.17 2:39, <a class="moz-txt-link-abbreviated" href="mailto:bradh@frogmouth.net">bradh@frogmouth.net</a>
пишет:<br>
</div>
<blockquote type="cite"
cite="mid:013101d35045$fc253a20$f46fae60$@frogmouth.net">
<pre wrap="">Is there a way to invoke that “do all the dependency work for me” (`find_anyproject`) from the cmake command line?
So if I clone your lib_gdal repo, it could build GDAL and any required dependencies?
Brad
</pre>
</blockquote>
<br>
</body>
</html>