Displaying 3 results from an estimated 3 matches for "llvm_current_list_dir".
2012 Jun 29
0
[LLVMdev] [cfe-dev] is configure+make dead yet?
...ake.in (revision 159425)
+++ LLVMConfig.cmake.in (working copy)
@@ -32,8 +32,11 @@
set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@)
-set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include)
-set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib)
+
+get_filename_component(LLVM_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE PATH)
+set(LLVM_INCLUDE_DIRS ${LLVM_CURRENT_LIST_DIR}/../../../include)
+set(LLVM_LIBRARY_DIRS ${LLVM_CURRENT_LIST_DIR}/../../../lib)
+
set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")
# We try to include using the current setti...
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
>
> *hi,Óscar:*
> * *
> >Why? Please describe a case.
>
> >I need to do some futher experiment and to see whether I have been
> wrong.
>
Since I touch this problem several months ago, so I did some test
using the 3.2svn, the reason why uninstalled build 'cmake not work lies in
set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@)
set(LLVM_INCLUDE_DIRS
2012 Jun 29
2
[LLVMdev] [cfe-dev] is configure+make dead yet?
....cmake.in (working copy)
> @@ -32,8 +32,11 @@
> set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
>
> set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@)
> -set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include)
> -set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib)
> +
> +get_filename_component(LLVM_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE PATH)
> +set(LLVM_INCLUDE_DIRS ${LLVM_CURRENT_LIST_DIR}/../../../include)
> +set(LLVM_LIBRARY_DIRS ${LLVM_CURRENT_LIST_DIR}/../../../lib)
> +
What about LLVM_TOOLS_BINARY_DIR ?
Have you checked that CMAKE_CURRENT_LIST_FILE is available for CMake
2.8.0 ?
> set...