diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-04-04 22:12:01 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-04-04 22:12:01 +0000 |
commit | 062ed090ed6416fe639a2dcb2d51fbbeb2f1b579 (patch) | |
tree | 12c18856a971aca170f668c5076bd00fa3ef961c /CMakeLists.txt | |
parent | d01c51d33a5b4c52160c0a6cc18f7739a0a137d3 (diff) |
Remove the old, and non-functional CMake build system from CompilerRT.
I cannot build any part of this successfully on either Linux or Darwin,
and the replacement is worlds simpler by requiring that this be built as
a subproject of LLVM. If this breaks you for any reason, please let me
know, and let me know what your use case is.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@154059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 483b67377..000000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,55 +0,0 @@ -# See docs/CMake.html for instructions about how to build Compiler-RT with CMake. - -PROJECT( CompilerRT C ) -CMAKE_MINIMUM_REQUIRED( VERSION 2.6 ) - -set(PACKAGE_NAME compiler-rt) -set(PACKAGE_VERSION 1.0svn) -set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") -set(PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu") - -SET( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules ) - -# add definitions -include(DefineCompilerFlags) - -# Disallow in-source build -INCLUDE( MacroEnsureOutOfSourceBuild ) -MACRO_ENSURE_OUT_OF_SOURCE_BUILD( - "${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there." - ) - -INCLUDE( ${CMAKE_SOURCE_DIR}/cmake/ConfigureChecks.cmake ) -CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/cmake/config.h.cmake - ${CMAKE_CURRENT_BINARY_DIR}/config.h ) - -INCLUDE_DIRECTORIES( - ${CMAKE_CURRENT_BINARY_DIR} -) - -SET( Achitectures - i386 x86_64 ppc arm - ) - -SET( Configurations - Debug Release Profile - ) - -# Only build Blocks Runtime if the compiler has enough support -IF( WIN32 OR MSVC OR HAVE_OSATOMIC_COMPARE_AND_SWAP_INT OR HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT ) - SET(BUILD_BLOCKS_RUNTIME TRUE) -ELSE( WIN32 OR MSVC OR HAVE_OSATOMIC_COMPARE_AND_SWAP_INT OR HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT ) - SET(BUILD_BLOCKS_RUNTIME FALSE) -ENDIF( WIN32 OR MSVC OR HAVE_OSATOMIC_COMPARE_AND_SWAP_INT OR HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT ) - -IF( BUILD_BLOCKS_RUNTIME ) - ADD_SUBDIRECTORY( BlocksRuntime ) -ELSE( BUILD_BLOCKS_RUNTIME ) - MESSAGE(STATUS "No suitable atomic operation routines detected, skipping Blocks Runtime") -ENDIF( BUILD_BLOCKS_RUNTIME ) - -ADD_SUBDIRECTORY( lib ) - -# Enable Test Suit: -INCLUDE( MacroAddCheckTest ) -ADD_SUBDIRECTORY( test ) |