commit c1cc14be8703d3550265e4434477cb6475bd5a23
Author: ether <ethe...@gmail.com>
Date: Fri Apr 22 10:39:31 2011 +0800
Add llvm include directory path when we build out of tree.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69ac02a..b605bf8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,8 @@ if (NOT DEFINED LLVM_MAIN_SRC_DIR)
if( NOT EXISTS ${LLVM_INSTALL_ROOT}/include/llvm )
message(FATAL_ERROR "LLVM_INSTALL_ROOT (${LLVM_INSTALL_ROOT}) is not a valid LLVM installation.")
endif(NOT EXISTS ${LLVM_INSTALL_ROOT}/include/llvm)
+ # Add the llvm header path.
+ include_directories(${LLVM_INSTALL_ROOT}/include/)
# Get the system librarys that will link into LLVM.
function(get_system_libs return_var)
Hey ether,
I think the LLVM build system installs now also llvm-lit directly. Do
you know if our tests work with an out of tree build?
Tobi
sorry to reply late,
i am going to try this out.
best regards
ether
bad news: llvm do not install filecheck :(
so we can not run test when build out of tree
best regards
ether
OK. Maybe we can have as a mid-term goal to contribute patches to
install that stuff. Thanks for investigating.
Cheers
Tobi