Skip to content

Compiling on macOS

Addy edited this page Apr 12, 2022 · 1 revision

Development requires OSX 10.15 or higher. A C++17 compiler is also required.

Instructions

  • Download the source code
git clone https://github.com/lulzapps/ttvg.git
  • Create and cd into a build directory:
mkdir build 
cd build
  • Initialize CMake. This will create makefiles. If you want to use Xcode change the generator (the -G argument). See the Windows instructions for an example of how to specify the generator.
cmake .. -DCMAKE_BUILD_TYPE=Debug

At this point you should have makefiles in the folder (Ninja files if that is your generator). You can do a test build by doing

cmake --build .

Clone this wiki locally