The set of C++11 utility headers for doing compile-time magic
Simply add <path/to/this/repo>/include/
to your include pathes
, for example:
- gcc:
$ gcc -O2 ... -I <path/to/this/repo>/include/ ...
- qmake: add the next into your
*.pro
file:- direct way:
INCLUDEPATH += <path/to/this/repo>/include/
- sub-project way:
include(<path/to/this/repo>/include/ino.pri)
- direct way:
- cmake: read on StackOverflow
Add INO_ENABLE_COMPILETIME_TESTS
define for enabling in-place
compile-time tests - for debugging and hacking purpuse only, since it
may slow-down compilation.