2010-08-11 00:51:32 +00:00
|
|
|
# This file provides information and services to the final user.
|
|
|
|
|
2012-02-13 18:48:10 +00:00
|
|
|
set(LLVM_VERSION_MAJOR @LLVM_VERSION_MAJOR@)
|
|
|
|
set(LLVM_VERSION_MINOR @LLVM_VERSION_MINOR@)
|
2011-04-11 14:52:39 +00:00
|
|
|
set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@)
|
2011-02-03 20:57:36 +00:00
|
|
|
|
2010-08-09 03:26:43 +00:00
|
|
|
set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
|
|
|
|
|
2011-02-21 03:20:57 +00:00
|
|
|
set_property( GLOBAL PROPERTY LLVM_LIBS "@llvm_libs@")
|
2010-08-09 03:26:43 +00:00
|
|
|
|
2010-09-29 15:28:55 +00:00
|
|
|
set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
|
|
|
|
|
2010-08-09 03:26:43 +00:00
|
|
|
set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
|
|
|
|
|
2011-04-13 15:25:31 +00:00
|
|
|
set(LLVM_TARGETS_WITH_JIT @LLVM_TARGETS_WITH_JIT@)
|
|
|
|
|
2011-07-29 23:52:01 +00:00
|
|
|
@all_llvm_lib_deps@
|
|
|
|
|
2011-02-23 11:28:40 +00:00
|
|
|
set(TARGET_TRIPLE "@TARGET_TRIPLE@")
|
|
|
|
|
2013-08-12 09:49:17 +00:00
|
|
|
set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TERMINFO@)
|
2013-08-07 08:47:36 +00:00
|
|
|
|
2010-08-09 03:47:11 +00:00
|
|
|
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
|
2010-08-09 03:26:43 +00:00
|
|
|
|
2013-04-23 08:28:39 +00:00
|
|
|
set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
|
|
|
|
|
2010-08-11 00:51:32 +00:00
|
|
|
set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@)
|
|
|
|
|
2011-02-03 20:57:36 +00:00
|
|
|
set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
|
|
|
|
|
2013-08-12 09:49:17 +00:00
|
|
|
set(HAVE_TERMINFO @HAVE_TERMINFO@)
|
|
|
|
set(TERMINFO_LIBS @TERMINFO_LIBS@)
|
2011-02-03 20:57:36 +00:00
|
|
|
set(HAVE_LIBDL @HAVE_LIBDL@)
|
2011-04-03 16:12:38 +00:00
|
|
|
set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD@)
|
2013-04-23 08:28:39 +00:00
|
|
|
set(HAVE_LIBZ @HAVE_LIBZ@)
|
2011-04-03 16:12:38 +00:00
|
|
|
set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
|
|
|
|
set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
|
2011-02-03 20:57:36 +00:00
|
|
|
|
2012-07-07 03:12:28 +00:00
|
|
|
set(LLVM_INSTALL_PREFIX "@LLVM_INSTALL_PREFIX@")
|
2011-04-10 16:17:49 +00:00
|
|
|
set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include)
|
|
|
|
set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib)
|
|
|
|
set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")
|
|
|
|
|
2010-08-11 00:51:32 +00:00
|
|
|
# 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:
|
2011-04-05 17:02:48 +00:00
|
|
|
include( LLVM-Config OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED )
|
2010-08-11 00:51:32 +00:00
|
|
|
|
|
|
|
# If failed, we assume that this is an un-installed build:
|
|
|
|
if( NOT LLVMCONFIG_INCLUDED )
|
2010-08-09 03:26:43 +00:00
|
|
|
set(CMAKE_MODULE_PATH
|
|
|
|
${CMAKE_MODULE_PATH}
|
|
|
|
"@LLVM_SOURCE_DIR@/cmake/modules")
|
2011-04-05 17:02:48 +00:00
|
|
|
include( LLVM-Config )
|
2010-08-09 03:26:43 +00:00
|
|
|
endif()
|
|
|
|
|