- ZFS
cmake3.10+checklibrary (if running tests)
The PLUGINS_DIRECTORY can be used to set the location for plugins.
To setup the build and set PLUGINS_DIRECTORY, starting from the source root:
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DPLUGINS_DIRECTORY=/usr/share/zectl/libze_pluginTo run tests add -DBUILD_TESTING=1.
To compile and install to a subdirectory release:
make
make DESTDIR="release/" installThe files can now be copied to the system locations.