Build¶
Compiler and standard¶
- C++11 is sufficient for this codebase.
- GNU Make build uses
g++directly.
Dependencies¶
Core polynomial + optical element code is header-only.
The postprocess example (examples/Example_PostprocessImage.cpp) uses:
- vendored
include/CImg.h - OpenEXR (enabled via Makefile’s
-Dcimg_use_openexr+pkg-config OpenEXR)
Build with Make¶
make
Outputs:
bin/ex0-basicarithmeticbin/ex1-postprocessbin/ex2-eclipsed-bokehbin/exr-sanity
Build with CMake¶
CMakeLists.txt can build the examples, but currently does not mirror the Makefile’s OpenEXR integration. Prefer make if you rely on EXR I/O.