diff options
author | Adrian Kummerlaender | 2015-02-27 21:57:38 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-02-27 21:57:38 +0100 |
commit | 299781bccc5c7d1b212198b5a9a55ee9447603c5 (patch) | |
tree | 2c94097bb005c7158c9cff1c33b894d6ecad9566 | |
parent | 741e4550312a9bf618602c1708745e0ceaf455ec (diff) | |
download | TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar.gz TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar.bz2 TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar.lz TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar.xz TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.tar.zst TypeAsValue-299781bccc5c7d1b212198b5a9a55ee9447603c5.zip |
Updated `README.md` to mention the examples and added build instructions
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -16,6 +16,8 @@ This library is a expanded reimplementation of my previous attempt at this probl > >::value; +More extensive examples are available in the form of implementations of the [Sieve of Eratosthenes](https://github.com/KnairdA/TypeAsValue/tree/master/example/prime) as well as of a [Turing machine](https://github.com/KnairdA/TypeAsValue/tree/master/example/turing). + ## Current features * guaranteed evaluation during compile time @@ -34,6 +36,17 @@ This library is a expanded reimplementation of my previous attempt at this probl * `static_assert` based test cases for all of the above * MIT license +## Building + +As _TypeAsValue_ is completely implemented via template metaprogramming it is a header only library and as such may only be built in conjunction with the code which is making use of it. This means that one may use a arbitrary build system in practice while the `static_assert` based test cases and example applications make use of _CMake_ and can be compiled as follows: + + git clone "https://github.com/KnairdA/TypeAsValue.git" + cd TypeAsValue # respectively "cd TypeAsValue/example/{turing|prime}" + mkdir build + cd build + cmake .. + make + ## Requirements * C++ compiler with support for C++14 |