Skip to content
subokita edited this page Aug 22, 2014 · 3 revisions

I have created CMake scripts, and also bash scripts to help installation of three.cpp

  1. Go into build/ and run install.sh
  2. It should check whether you have Homebrew installed, if not, it will try to install Homebrew
  3. Then it will install other necessary libraries, e.g. cmake, glfw3, glm, etc
  4. Then it will run the cmake scripts
  5. And it will run makefile
  6. And finally it will run a test program
  7. Then it will remove all the intermediate files
  8. Step 2-7 will run automatically from the script, but you could peer into install.sh and CMakeList.txt to change anything if it's necessary.

Currently the installation script only works for Mac OS X, because I don't own a Windows PC to test it out.

Clone this wiki locally