# Illustrative build.bro for a raylib program (not run in CI: needs raylib # installed and the game sources under ./game). # # Generate the raylib bindings once with: # brolang translate-c /opt/homebrew/Cellar/raylib/*/include/raylib.h > game/raylib.bro # then: # brolang build examples/build/raylib b :: import "@std/build" config :: b.BuildConfig{ name = "game", source = "source", libraries = &["raylib"], lib_paths = &["/opt/homebrew/lib"], includes = &["/opt/homebrew/include"], defines = &[], links = &["-framework", "Cocoa", "-framework", "IOKit", "-framework", "CoreVideo", "-framework", "OpenGL"], }