We're using cxx to expose cpp bindings.
-
Build, and compile gni:
make compile_cpp
-
Build, compile and run gni:
make run_cpp
-
Release mode:
For all make cmds you can also pass
BUILD_MODE=release
for rust's release mode:make run_cpp BUILD_MODE=release
-
Remove build artifacts:
make clean
```
$ make compile_cpp
$ ./main_cpp
<ID>
```
There are 2 steps to make use of GNI on an existing cpp project: