nomlib Documentation

C++11 cross-platform game engine using the SDL2 framework.

Projects Using nomlib

Building

First, ensure that you have the following core dependencies installed:

Next, you should visit the dependencies section for your platform. After these mundane chores are complete, you should be ready to start the building process for your platform!

OS X

After you have the dependencies taken care of, execute the following commands at your terminal prompt:

``` git clone https://github.com/i8degrees/nomlib cd nomlib mkdir build && cd build cmake .. make make install ```

Upon a successful build, you should have the library built as a Framework bundle, under your current build directory, named nomlib.framework.

Linux

Linux builds are broken at the moment.

~~Until I get around to writing the proper instructions, you may take a look at my .travis.yml build script in the project root of nomlib for hints!~~

Linux Build Status

![Build Status](https://travis-ci.org/i8degrees/nomlib.png?branch=master,dev)

Windows

After you have the dependencies taken care of, execute the following commands at the DOS prompt:

``` git clone https://github.com/i8degrees/nomlib cd nomlib nomdev.rb gen –dev nomdev.rb build ```

Upon a successful generation, you should have populated your current build directory with several Visual Studio project files: nomlib.vcxproj is the one you will want to work with.

You may also be interested in the functionality of nomdev.rb build. (Uses the MSVCPP build tools chain with MSBuild to compile the project via command line).

Project Options

Build options are passed to cmake with the -D option. For example, to change the installation prefix:

``` cmake -D CMAKE_INSTALL_PREFIX=~/Library/Frameworks .. ```

Removal is provided by executing make uninstall within your current build directory.

OS X Dependencies

Linux Dependencies

Windows Dependencies

If this is your first time installing the tools, you might be happy to know that the official installers can do this task for you automatically.