Skip to content

Commit

Permalink
Updates to README's
Browse files Browse the repository at this point in the history
  • Loading branch information
cary-ilm authored and nickrasmussen committed Aug 8, 2018
1 parent d7fd088 commit 78ea848
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions IlmBase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,7 @@ for the legal fine print.
Building and Installation
-------------------------

You can build IlmBase using either **autoconf** or **cmake**.

#### Building with **autoconf**

First, ensure that **autoconf** is installed. Download and install it
from https://www.gnu.org/software/autoconf/autoconf.html.

To bootstrap the build process:

./bootstrap

To create Makefiles via **autoconf**:
To configure the Makefiles, run the ``configure`` script:

./configure

Expand All @@ -56,19 +45,20 @@ In particular, the ``--prefix=<install directory>`` option specifies a
directory into which to install the headers and libraries. By default,
headers and libraries are installed into ``/usr/local``.

To build the libraries:
To build the libraries after running ``configure``:

make
make install

#### Building with **cmake**

First, ensure that **cmake** is installed. Download and install it
from https://cmake.org/download.
#### Building from Git

To bootstrap the **cmake** build process:
If building directly from a cloned git repo, first generate the
configuration scripts by running ``bootstrap``, then ``configure`` and
``make``:

cmake -DCMAKE_INSTALL_PREFIX=<install directory> <IlmBase source directory>
cd <source root>/IlmBase
./bootstrap
./configure
make
make install

Expand Down

0 comments on commit 78ea848

Please sign in to comment.