hugoledoux / example_startin_c_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo example to compile the C API of startin and use it with C++

  1. compile startin and its c_interface: cargo build --features c_api --release
  2. copy the .dylib/.dll/.so (/target/release/libstartin.dylib) to here /dependencies/startin/
  3. mkdir build && cd build
  4. cmake ..
  5. make
  6. ./mycc

About

License:MIT License


Languages

Language:C++ 84.6%Language:CMake 15.4%