<div dir="ltr"><div>The sample project (project/sample) builds fine out of the tree until you try to use a llvm header. What is the correct way to get this sample project access to the llvm headers?</div><div><div><br></div>
<div>/* LLVM Header File*/</div><div>#include "llvm/Support/DataTypes.h"</div></div><div><br></div><div><br></div><div>llvm[2]: Compiling sample.c for Release+Asserts build</div><div>sample.c:14:10: fatal error: 'llvm/Support/DataTypes.h' file not found</div>
<div>#include "llvm/Support/DataTypes.h"</div><div> ^</div><div>1 error generated.</div></div>