Basic C wrapper for LLVM's TableGen. Requires C++ compiler, llvm includes, and llvm-config. Also requires libLLVMCore and libLLVMSupport at runtime.
mkdir build cd build cmake ..
cmake -DLLVM_CONFIG_BIN=llvm-config-3.9 ..
cmake -DLLVM_CONFIG_BIN=llvm-config-3.9 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..