Problems compiling Rocksdb

Not sure myself at present. I don’t know if you saw this which list two packs that have CMakeLists.txt. Since Jan W. created one it seems that the intent is for this to work even if it is not yet fully working in the code.

EDIT

The code is in directory library/build

library/build/tools.pl

This module implements the build system that is used by pack_install/1
and pack_rebuild/1. The build system is a plugin based system where each
plugin knows about a specific build toolchain. The plugins recognise
whether they are applicable based on the existence of files that are
unique to the toolchain.

library/build/cmake.pl

Manage a CMake project. This prefers the ninja generator if available
in $PATH.

library/build/make.pl

This build plugin deals with GNU style packages. It knows about the
following programs:

  • automake to create Makefile.in from Makefile.am
  • autoheader to create config.h.in from configure.in
  • autoconf to create configure from configure.in
  • configure to create Makefile
  • make for the make step

I don’t think it should be a requirement but it would be nice to have them. I really did not understand CMake until a few weeks ago when I took time to due the tutorial and then do it with a few other generators such as Visual Studio 17 2022, Ninja, NMake Makefiles, Unix Makefiles, MSYS Makefiles, MinGW Makefiles.

While it does make building more consistent, there is still much work that has to be done to get correct builds, still learning the ropes.