-
New Feature
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
It would be useful to have a vdb config binary which gets built by default with vdb installations that reports information about the way the library was built. For example, here's a list of options from llvm-config (I've removed ones which aren't relevant to us):
--version Print LLVM version. --prefix Print the installation prefix. --src-root Print the source root LLVM was built from. --obj-root Print the object root used to build LLVM. --bindir Directory containing LLVM executables. --includedir Directory containing LLVM headers. --libdir Directory containing LLVM libraries. --cppflags C preprocessor flags for files that include LLVM headers. --cxxflags C++ compiler flags for files that include LLVM headers. --ldflags Print Linker flags. --libs Libraries needed to link against LLVM components. --libnames Bare library names for in-tree builds. --libfiles Fully qualified library filenames for makefile depends. --targets-built List of all targets currently built. --build-mode Print build mode of LLVM tree (e.g. Debug or Release).
And here's a few that I think would be super useful
--abi Print the ABI number
--file-version Print the OpenVDB file version
--tree-configs Print all default registered tree configurations