Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 881 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 881 Bytes

Inobelar's meta-programming library

The set of C++11 utility headers for doing compile-time magic

Examples

Usage

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)
  • cmake: read on StackOverflow

Notes

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.