Hello all!
Is there any way to use CMake instead of Makefile when building NIFs? If yes - is there any examples or manuals of how to do it?
Hi @alexandr
Maybe this example could be a nice entry point GitHub - joaohf/watercast
It uses cmake to build the icecast server which is autoconf. The key point here is to use pre_hooks and post_hooks in order to call cmake commands. Using the same approach for NIFs build will work too.
Thx. Will try it tomorrow.
RocksDB for erlang uses cmake: barrel-db / erlang-rocksdb · GitLab
Thank you