+set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
+
+set(LLVM_ALL_TARGETS
+ Alpha
+ ARM
+ CBackend
+ CellSPU
+ CppBackend
+ IA64
+ Mips
+ MSIL
+ PIC16
+ PowerPC
+ Sparc
+ X86
+ XCore
+ )
+
+# List of targets whose asmprinters need to be forced to link
+# into executables on some platforms (i.e. Windows):
+set(LLVM_ASMPRINTERS_FORCE_LINK X86 PowerPC)
+
+if( MSVC )
+ set(LLVM_TARGETS_TO_BUILD X86
+ CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
+else( MSVC )
+ set(LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS}
+ CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
+endif( MSVC )
+
+option(LLVM_ENABLE_THREADS "Use threads if available." ON)
+
+if( uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" )
+ option(LLVM_ENABLE_ASSERTIONS "Enable assertions" OFF)
+else()
+ option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON)
+endif()