[cfe-dev] How to generate "llvm/datatypes.h"?
NAKAMURA Takumi
geek4civic at gmail.com
Sun Jun 10 16:36:16 PDT 2012
2012/6/10 Thomson <lilotom at gmail.com>:
> I build LLVM myself, but there is still no "llvm/support/datatypes.h", so I
> cannot include it in other source files. There are DataTypes.h.cmake and
> DataTypes.h.in in the same folder which seems to be the template, how to
> generate the specific datatypes.h?
You can see include/llvm/Support/DataTypes.h in your $(BUILD) directory.
You should specify -I $(BUILD)/include and $(SRC)/include to your
project, as long as you use built-binaries.
Then you should do "make install". Don't to forget to specify
"configure --prefix" or CMAKE_INSTALL_PREFIX.
...Takumi
More information about the cfe-dev
mailing list