You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This explains the OpenEXR policy regarding the "OpenEXR/" subdirectory
for include files: headers are installed under the "OpenEXR"
subdirectory, and the library supports application code that uses
either the bare header or the "OpenEXR subdirectory, i.e either one
of:
#include <ImfHeader.h>
#include <OpenEXR/ImfHeader.h>
Both cmake config and pkg-config add -I$include and -I$include/OpenEXR
as compilation args.
This policy is explained for users in the "Header Layout and #include
Policy" section in website/install.rst.
Internally, all library and tool source includes bare headers, without
the "OpenEXR" since the source tree maintains headers local to each
library, not in a common OpenEXR directory. The only exception is code
in the source tree that is expected to mimic example application code.
Internally, all library and tool source includes files via quotes ""
when the header in question is either in the local directory or is one
of the public headers installed in the OpenEXR. Others are included
via brackets <>. Previously, this was inconsistent. Imath headers
are included via <> because they come from another project.
Signed-off-by: Cary Phillips <cary@ilm.com>
0 commit comments