# SIT? ## CXX bindings How to configure and install: 1. `cmake .. -DCMAKE_INSTALL_PREFIX= -DBUILD_C_FORTRAN=OFF` 2. `make install` ### How to use ```cpp #include "sit/sit.hpp" int main() { sit::init("Default"); sit::region_start("peter"); sit::region_start("marie"); sit::region_stop("marie"); sit::region_stop("peter"); sit::finalize(); } You **must** call `sit::init` exactly once to init the datastructures before you can use the other functionality. Also some backends require finalization, so please make sure to also call `finalize` in the end. To add it to your code, currently just install it and use something similar to: `-I/include -L-I/lib -lsit` in the compiler options