mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
15 lines
360 B
CMake
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()
|
|
|