Skip to content

Commit

Permalink
update readme documentation for new cmake option
Browse files Browse the repository at this point in the history
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd authored and nickrasmussen committed Aug 9, 2018
1 parent 6d9e3f6 commit 081c9f9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ Dependencies

OpenEXR depends on [zlib](https://zlib.net).

PyIlmBase depends on [boost-python](https://github.com/boostorg/python).
PyIlmBase depends on [boost-python](https://github.com/boostorg/python) and
optionally on [numpy](http://www.numpy.org).

In OpenEXR_Viewers:

Expand Down Expand Up @@ -144,9 +145,9 @@ https://www.gnu.org/software/autoconf/autoconf.html.

Alternatively, you can build with **cmake**, version 3.11 or newer.

In the root ``CMakeLists.txt`` file, or using a tools such as
**ccmake** or **cmake-gui**, configure the OpenEXR build. The options
are detailed below.
In the root ``CMakeLists.txt`` file, with -D options on the cmake
line, or by using a tools such as **ccmake** or **cmake-gui**,
configure the OpenEXR build. The options are detailed below.

Create a source root directory, cd into it, and run **cmake** to configure
the build. Select an appropriate generator, such as "Unix Makefiles",
Expand Down Expand Up @@ -186,6 +187,12 @@ C++03 compatibility is possible as an option
* ``OPENEXR_ENABLE_TESTS`` (ON)
By default, the tests will be built.

* ``OPENEXR_RUN_FUZZ_TESTS`` (OFF)
By default, the damaged input tests will NOT be run, due to their long
running time. If you wish to run them as part of "make test" (or equivalent
in your build system), then enable this. A "make fuzz" target will be
available to run the fuzz test regardless.

* ``OPENEXR_PYTHON_MAJOR``, ``OPENEXR_PYTHON_MINOR`` "2", "7"
By default, OpenEXR is built against Python 2.7.x.

Expand Down

0 comments on commit 081c9f9

Please sign in to comment.