Skip to content

Commit

Permalink
Remove OpenEXR_Viewers from the cmake build files and from the INSTAL…
Browse files Browse the repository at this point in the history
…L.md instructions.

The code is obsolete; it will be removed entirely in the 3.0 release.

Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
cary-ilm committed Mar 5, 2020
1 parent 01fa5a2 commit 560f7c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ if(PYILMBASE_ENABLE)
endif()
endif()

option(OPENEXR_VIEWERS_ENABLE "Enables configuration of the viewers module" ON)
if(OPENEXR_VIEWERS_ENABLE)
add_subdirectory(OpenEXR_Viewers)
endif()

# Including this module will add a `clang-format` target to the build if
# the clang-format executable can be found.
include(cmake/clang-format.cmake)
12 changes: 6 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ configuration files included with find_package should set this up.

## Sub-Modules

OpenEXR consists of four separate sub-modules - IlmBase, PyIlmBase,
OpenEXR, OpenEXR_Viewers - which can be built independently. The
repository’s top-level CMakeLists.txt defines a *super-project* that
builds all four modules, and the steps above for running cmake at the
top level of the repo build each of the sub-modules, in parallel.
OpenEXR consists of three separate sub-modules - IlmBase, PyIlmBase,
and OpenEXR - which can be built independently. The repository’s
top-level CMakeLists.txt defines a *super-project* that builds all
four modules, and the steps above for running cmake at the top level
of the repo build each of the sub-modules, in parallel.

However you can build each submodule individually. To build and
install individual sub-modules, build and install the IlmBase module
Expand All @@ -135,7 +135,7 @@ which to install OpenEXR:
$source_directory/OpenEXR
% cmake --build . --target install --config Release

Optionally, then build and install PyIlmBase, OpenEXR_Viewers, and Contrib.
Optionally, then build and install PyIlmBase

The libraries in IlmBase and OpenEXR follow the standard cmake setting
of ``BUILD_SHARED_LIBS`` to control whether to build static or shared
Expand Down

0 comments on commit 560f7c2

Please sign in to comment.