[LLVMdev] how to compile my LLVM project with CMake (on Windows)?
Óscar Fuentes
ofv at wanadoo.es
Fri Aug 10 20:11:27 PDT 2012
Jun Koi <junkoi2004 at gmail.com> writes:
> i already successfully compiled & installled LLVM 3.1 on Windows (with
> CMake & Visual Studio 2008). next, i am trying to understand how to
> create a standalone LLVM project, and compile that on Windows (also
> using CMake & Visual Studio 2008).
Please read
http://www.llvm.org/docs/CMake.html#embedding-llvm-in-your-project
but instead of using the include_directories and link_directories as
explained on that document, use:
include_directories( ${LLVM_ROOT}/include )
link_directories( ${LLVM_ROOT}/lib )
[snip]
More information about the llvm-dev
mailing list