<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mark Harris <mark.hsj@gmail.com><br>
<b>Sent:</b> Wednesday, June 24, 2020 00:09<br>
<b>To:</b> Marcus Asteborg <xnorpx@outlook.com><br>
<b>Cc:</b> opus@xiph.org <opus@xiph.org><br>
<b>Subject:</b> Re: Add CMake build instructions to README</font>
<div><br>
</div>
</div>
<div class="BodyFragment">
<div class="PlainText" style="font-size: 11pt;">> Hi Marcus,<br>
<br>
> Currently the build instructions start with simple instructions for<br>
> building from the release tarball, and then provide more complex<br>
> alternative instructions that can be followed for those that need to<br>
> build the latest development code from git.  This adds instructions<br>
> for building with CMake, but not from the normal release tarball as<br>
> expected; instead the CMake instructions are a variation of the<br>
> alternative instructions for building from git.<br>
<br>
> If there is a reason that CMake should only be used with git then that<br>
> should be explained in the instructions; otherwise I would expect the<br>
> instructions to apply to the normal release tarball.  It's not clear<br>
> whether there is also a need for a fourth set of build instructions<br>
> for using CMake in combination with git, unless there is something<br>
> particularly notable about that combination.  Perhaps that might be<br>
> covered just for Windows, as an addendum to the existing git<br>
> instructions, since the existing git instructions specifically cover<br>
> several platforms, but not Windows.</div>
<div class="PlainText" style="font-size: 11pt;"><br>
> - Mark<br>
</div>
<div class="PlainText" style="font-size: 11pt;"><br>
</div>
<div class="PlainText" style="font-size: 11pt;">Hi Mark,</div>
<div class="PlainText" style="font-size: 11pt;"><br>
</div>
<div class="PlainText" style="font-size: 11pt;">CMake works fine to build from release tarball and git.</div>
<div class="PlainText" style="font-size: 11pt;">One do need to install compiler + cmake to configure and build.</div>
<div class="PlainText" style="font-size: 11pt;">The only reason I added it to the git instructions was that CMake is a clear dependency</div>
<div class="PlainText" style="font-size: 11pt;">that needs to be installed on the system.</div>
<div class="PlainText" style="font-size: 11pt;"><br>
</div>
<div class="PlainText" style="font-size: 11pt;">---------------</div>
<div class="PlainText" style="">
<pre style="font-size: 12px; box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; margin-top: 0px; margin-bottom: 0px; color: rgb(36, 41, 46); background-color: rgb(255, 255, 255);">To build from a distribution tarball, you only need to do the following:

    % ./configure
    % make

To build from the git repository, the following steps are necessary:</pre>
<pre style="font-size: 12px; box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; margin-top: 0px; margin-bottom: 0px; color: rgb(36, 41, 46); background-color: rgb(255, 255, 255);">-------------</pre>
<pre style="font-size: 12px; box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; margin-top: 0px; margin-bottom: 0px; color: rgb(36, 41, 46); background-color: rgb(255, 255, 255);"><br></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;">I am not so familiar with automake and nix systems.</span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;">Does the configure install make and compilers that is needed for the make step?</span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;">Or is it assumed that the nix system already has it installed?</span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;"><br></span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;">I like the idea to strip down to just use windows as CMake example.</span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;">Se let me iterate on the instructions and strip it down for Windows only.</span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);"><font face="Segoe UI, Segoe UI Web (West European), Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif"><span style="font-size: 14.6667px;"><br></span></font></pre>
<pre style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">//Marcus</pre>
<pre style="font-size: 12px; box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; margin-top: 0px; margin-bottom: 0px; color: rgb(36, 41, 46); background-color: rgb(255, 255, 255);">..</pre>
<pre style="font-size: 12px; box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; margin-top: 0px; margin-bottom: 0px; color: rgb(36, 41, 46); background-color: rgb(255, 255, 255);"><br></pre>
</div>
</div>
</body>
</html>