- Install CMake (on mac:
brew install cmake
)
cmake -B build
- Build project:
cmake --build build
- Create image:
build/inOneWeekend > image.ppm
- Open file (on mac):
open image.ppm
- In one line:
cmake --build build; build/inOneWeekend > image.ppm; open image.ppm
Title: Ray Tracing in One Weekend
Author: Peter Shirley, Trevor David Black, Steve Hollasch
Version/Edition: v4.0.0-alpha.2