Jump to content

Compiling with brew (OpenXcom)

From UFOpaedia
Revision as of 15:01, 10 March 2026 by Hobbes (talk | contribs) (Undo revision 126412 by Hobbes (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install brew

 see http://mxcl.github.com/homebrew/

Install dependencies

 brew install cmake yaml-cpp sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis

Then build with cmake or make.

When running cmake to generate the build files, remember to specify clang as your compiler:

 mkdir build
 cd build
 CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ..