llvm/projects/CMakeLists.txt: Add dragonegg.

llvm-svn: 199995
This commit is contained in:
NAKAMURA Takumi 2014-01-24 12:53:08 +00:00
parent 16e7a758b0
commit 480132f096
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ file(GLOB entries *)
foreach(entry ${entries}) foreach(entry ${entries})
if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt) if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx)) (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
add_subdirectory(${entry}) add_subdirectory(${entry})
endif() endif()
@ -25,3 +26,5 @@ if(${LLVM_BUILD_RUNTIME})
message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!") message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
endif() endif()
endif() endif()
add_llvm_external_project(dragonegg)