rocksdb has a guideline for how to integrate with the cmake
build system. Simply provide plugin specific variables with
.cc files and the library requirements.
We run generate_version.sh at cmake time - this should be
ok since any change in the git repo could affect cmake,
and as such cmake should be rerun anyways. Also, with
the current cmake infrastructure in rocksdb, it doesn't
seem to be possible to run generate_version.sh at build
time prior to processing the zenfs source files.
rocksdb has a guideline for how to integrate with the cmake build system. Simply provide plugin specific variables with .cc files and the library requirements.
We run generate_version.sh at cmake time - this should be ok since any change in the git repo could affect cmake, and as such cmake should be rerun anyways. Also, with the current cmake infrastructure in rocksdb, it doesn't seem to be possible to run generate_version.sh at build time prior to processing the zenfs source files.
Signed-off-by: Jorgen Hansen jorgen.hansen@wdc.com