Files
swift-mirror/stdlib/public/CMakeLists.txt
Ben Langmuir d8d1687bff Reorder stdlib cmake dependencies
Core depends on runtime depends on shims.  So we need to visit their
directories in that order so that the targets each depends on will exist
at the time we look for them.

Found with help from Dmitri!

Swift SVN r26070
2015-03-12 22:53:15 +00:00

15 lines
360 B
CMake

if(SWIFT_BUILD_STDLIB)
# These must be kept in dependency order so that any referenced targets
# exist at the time we look for them in add_swift_*.
add_subdirectory(SwiftShims)
add_subdirectory(runtime)
add_subdirectory(core)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
if(SWIFT_BUILD_SDK_OVERLAY)
add_subdirectory(SDK)
endif()
endif()