karljacques/Teabag — pull request #4 by TheComet93 (2014-09-06 16:17:57+00:00)
Title: Feature/cmake

Wrote a functional CMake based build system for your project. This should allow you to build the project on any platform.

The general rule is to **never build in the source tree**, but make a subdirectory called *build* and compile everything there. CMake can generate project files for most IDEs, to get a list of supported generators open a cmd and type ```cmake --help```.

To build on Linux and Mac:
```
(in directory "Teabag")
$ mkdir build
$ cd build
$ cmake -G "Unix Makefiles" ..
$ make
```

To build on Windows:
```
(in directory "Teabag")
> mkdir build
> cd build
> cmake -G "NMake Makefiles" ..
> nmake
```