Difference between revisions of "Compiling with brew (OpenXcom)"
Jump to navigation
Jump to search
Antigluten (talk | contribs) m |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
see http://mxcl.github.com/homebrew/ | see http://mxcl.github.com/homebrew/ | ||
− | Install | + | Install dependencies |
− | + | brew install cmake yaml-cpp sdl sdl_gfx sdl_image sdl_mixer --with-flac --with-libmikmod --with-libvorbis | |
− | |||
− | |||
− | + | Then [[Compiling_with_CMake_(OpenXcom)|build with cmake]] or [[Compiling_with_Make_(OpenXcom)|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 .. | |
− | |||
− | |||
− | + | [[Category:OpenXcom]] | |
− | |||
− | |||
− |
Latest revision as of 03:06, 18 May 2015
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 ..