I’m working on building an Elixir NIF (Native Implemented Function) version of a C++ project that uses CMake. I’m exploring using elixir_make
for the build process, but I’m stuck on how to integrate a CMake-based project with elixir_make
. What’s the best way to configure elixir_make
to work with a CMake build system, and are there any examples or tips for handling this setup?
The C++ code organized as follow:
- src
|- CMakeList.txt
|- MakeFile
- include
- test
Build instruction go like this mkdir build; cd build; cmake ...; make