SET(INC_DIR . Half IlmImf Iex Imath)

INCLUDE_DIRECTORIES( ${INC_DIR} )

ADD_LIBRARY(Half Half/half.cpp Half/toFloat.cpp Half/eLut.cpp)
ADD_LIBRARY(IlmImf IlmImf/ImfAttribute.cpp
IlmImf/ImfBoxAttribute.cpp
IlmImf/ImfCRgbaFile.cpp
IlmImf/ImfChannelList.cpp
IlmImf/ImfChannelListAttribute.cpp
IlmImf/ImfChromaticities.cpp
IlmImf/ImfChromaticitiesAttribute.cpp
IlmImf/ImfCompressionAttribute.cpp
IlmImf/ImfCompressor.cpp
IlmImf/ImfConvert.cpp
IlmImf/ImfDoubleAttribute.cpp
IlmImf/ImfEnvmap.cpp
IlmImf/ImfEnvmapAttribute.cpp
IlmImf/ImfFloatAttribute.cpp
IlmImf/ImfFrameBuffer.cpp
IlmImf/ImfHeader.cpp
IlmImf/ImfHuf.cpp
IlmImf/ImfIO.cpp
IlmImf/ImfInputFile.cpp
IlmImf/ImfIntAttribute.cpp
IlmImf/ImfKeyCode.cpp
IlmImf/ImfKeyCodeAttribute.cpp
IlmImf/ImfLineOrderAttribute.cpp
IlmImf/ImfLut.cpp
IlmImf/ImfMatrixAttribute.cpp
IlmImf/ImfMisc.cpp
IlmImf/ImfOpaqueAttribute.cpp
IlmImf/ImfOutputFile.cpp
IlmImf/ImfPizCompressor.cpp
IlmImf/ImfPreviewImage.cpp
IlmImf/ImfPreviewImageAttribute.cpp
IlmImf/ImfPxr24Compressor.cpp
IlmImf/ImfRgbaFile.cpp
IlmImf/ImfRgbaYca.cpp
IlmImf/ImfRleCompressor.cpp
IlmImf/ImfScanLineInputFile.cpp
IlmImf/ImfStandardAttributes.cpp
IlmImf/ImfStdIO.cpp
IlmImf/ImfStringAttribute.cpp
IlmImf/ImfTestFile.cpp
IlmImf/ImfTileDescriptionAttribute.cpp
IlmImf/ImfTileOffsets.cpp
IlmImf/ImfTiledInputFile.cpp
IlmImf/ImfTiledMisc.cpp
IlmImf/ImfTiledOutputFile.cpp
IlmImf/ImfTiledRgbaFile.cpp
IlmImf/ImfTimeCode.cpp
IlmImf/ImfTimeCodeAttribute.cpp
IlmImf/ImfVecAttribute.cpp
IlmImf/ImfVersion.cpp
IlmImf/ImfWav.cpp
IlmImf/ImfZipCompressor.cpp
Iex/IexBaseExc.cpp
Iex/IexThrowErrnoExc.cpp )
