summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b793bc1)
raw | patch | inline | side by side (parent: b793bc1)
author | Oscar Fuentes <ofv@wanadoo.es> | |
Tue, 5 Apr 2011 17:02:48 +0000 (17:02 +0000) | ||
committer | Oscar Fuentes <ofv@wanadoo.es> | |
Tue, 5 Apr 2011 17:02:48 +0000 (17:02 +0000) |
scheme is used by the functionality related to find_package.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128889 91177308-0d34-0410-b5e6-96231b3b80d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128889 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake | patch | blob | history | |
cmake/modules/CMakeLists.txt | patch | blob | history | |
cmake/modules/LLVM-Config.cmake | [moved from cmake/modules/LLVMConfig.cmake with 100% similarity] | patch | blob | history |
cmake/modules/LLVM.cmake | patch | blob | history | |
tools/llvm-config/CMakeLists.txt | patch | blob | history |
index df739b411995bb45bb5e3ff322ab940088790419..6087094e8351bedca22087ca407141894d3acea6 100755 (executable)
include(LLVMProcessSources)
-include(LLVMConfig)
+include(LLVM-Config)
macro(add_llvm_library name)
llvm_process_sources( ALL_FILES ${ARGN} )
index 1ab94749f1569feae7188c0b622ac4f509215998..036ee05cfb3620bda847b01d1e4b745b695bc4e0 100644 (file)
install(FILES
${llvm_cmake_builddir}/LLVM.cmake
- LLVMConfig.cmake
+ LLVM-Config.cmake
LLVMLibDeps.cmake
DESTINATION share/llvm/cmake)
FILES_MATCHING PATTERN *.cmake
PATTERN .svn EXCLUDE
PATTERN LLVM.cmake EXCLUDE
- PATTERN LLVMConfig.cmake EXCLUDE
+ PATTERN LLVM-Config.cmake EXCLUDE
PATTERN LLVMLibDeps.cmake EXCLUDE
PATTERN FindBison.cmake EXCLUDE
PATTERN GetTargetTriple.cmake EXCLUDE
install(FILES
${llvm_cmake_builddir}/LLVM.cmake
- LLVMConfig.cmake
+ LLVM-Config.cmake
LLVMLibDeps.cmake
DESTINATION share/llvm/cmake)
similarity index 100%
rename from cmake/modules/LLVMConfig.cmake
rename to cmake/modules/LLVM-Config.cmake
rename from cmake/modules/LLVMConfig.cmake
rename to cmake/modules/LLVM-Config.cmake
index 8afc63d7a38922e53ec080fb61af60d1b1dc4bee..04abb9d2c2b2ccd71138d85a755b960224b82175 100644 (file)
--- a/cmake/modules/LLVM.cmake
+++ b/cmake/modules/LLVM.cmake
# We try to include using the current setting of CMAKE_MODULE_PATH,
# which suppossedly was filled by the user with the directory where
# this file was installed:
-include( LLVMConfig OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED )
+include( LLVM-Config OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED )
# If failed, we assume that this is an un-installed build:
if( NOT LLVMCONFIG_INCLUDED )
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
"@LLVM_SOURCE_DIR@/cmake/modules")
- include( LLVMConfig )
+ include( LLVM-Config )
endif()
index 1f5aaf4d36697e11538f389d6ae3d4b54be81239..bc23a64d0efc707413e27b281491f2ce5a3d0e9b 100644 (file)
# Regeneration of library dependencies.
-# See the comments at the end of cmake/modules/LLVMConfig.cmake for
+# See the comments at the end of cmake/modules/LLVM-Config.cmake for
# notes and guidelines.
set(LLVMLibDeps ${LLVM_MAIN_SRC_DIR}/cmake/modules/LLVMLibDeps.cmake)