Exclude both libcxx and compiler-rt until we get their CMake builds
authorChandler Carruth <chandlerc@gmail.com>
Wed, 27 Jun 2012 00:30:08 +0000 (00:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 27 Jun 2012 00:30:08 +0000 (00:30 +0000)
suitable for building as a whole-project.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159241 91177308-0d34-0410-b5e6-96231b3b80d8

projects/CMakeLists.txt

index 415530e33236788ac26f296f6b88e4b2acdf6129..dac637335bd14d7fdf058d6c7892605958c602bc 100644 (file)
@@ -4,7 +4,8 @@
 file(GLOB entries *)
 foreach(entry ${entries})
   if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
-    if(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt)
+    if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
+       (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
       add_subdirectory(${entry})
     endif()
   endif()