mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
70997406e4
suitable for building as a whole-project. llvm-svn: 159241
13 lines
485 B
CMake
13 lines
485 B
CMake
# Discover the projects that use CMake in the subdirectories.
|
|
# Note that explicit cmake invocation is required every time a new project is
|
|
# added or removed.
|
|
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) AND
|
|
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
|
|
add_subdirectory(${entry})
|
|
endif()
|
|
endif()
|
|
endforeach(entry)
|