search for: hello2_build

Displaying 1 result from an estimated 1 matches for "hello2_build".

2012 Jul 23
2
[LLVMdev] building a pass with cmake
...s. include(AddLLVM) add_definitions(${LLVM_DEFINITIONS}) include_directories(${LLVM_INCLUDE_DIRS}) link_directories(${LLVM_LIBRARY_DIRS}) add_llvm_loadable_module( LLVMHello Hello.cpp ) Furthermore, I created a separate build and install directories in order to build and install my pass. cd Hello2_build cmake ../Hello2 -DCMAKE_INSTALL_PREFIX=../Hello2_install/ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler...