Skip to content

Commit 9f92034

Browse files
authored
Merge pull request #12205 from mnvr/SR-5817
2 parents 3100088 + 5ba1522 commit 9f92034

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

CMakeLists.txt

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -821,14 +821,23 @@ message(STATUS " Assertions: ${LLVM_ENABLE_ASSERTIONS}")
821821
message(STATUS " LTO: ${SWIFT_TOOLS_ENABLE_LTO}")
822822
message(STATUS "")
823823

824-
message(STATUS "Building Swift standard library and SDK overlays for SDKs: ${SWIFT_SDKS}")
825-
message(STATUS " Build type: ${SWIFT_STDLIB_BUILD_TYPE}")
826-
message(STATUS " Assertions: ${SWIFT_STDLIB_ASSERTIONS}")
827-
message(STATUS "")
824+
if (SWIFT_BULID_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
828825

829-
message(STATUS "Building Swift runtime with:")
830-
message(STATUS " Leak Detection Checker Entrypoints: ${SWIFT_RUNTIME_ENABLE_LEAK_CHECKER}")
831-
message(STATUS "")
826+
message(STATUS "Building Swift standard library and overlays for SDKs: ${SWIFT_SDKS}")
827+
message(STATUS " Build type: ${SWIFT_STDLIB_BUILD_TYPE}")
828+
message(STATUS " Assertions: ${SWIFT_STDLIB_ASSERTIONS}")
829+
message(STATUS "")
830+
831+
message(STATUS "Building Swift runtime with:")
832+
message(STATUS " Leak Detection Checker Entrypoints: ${SWIFT_RUNTIME_ENABLE_LEAK_CHECKER}")
833+
message(STATUS "")
834+
835+
else()
836+
837+
message(STATUS "Not building Swift standard library, SDK overlays, and runtime")
838+
message(STATUS "")
839+
840+
endif()
832841

833842
#
834843
# Find required dependencies.

0 commit comments

Comments
 (0)