File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -845,14 +845,18 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin" AND NOT CMAKE_CROSSCOMPILING)
845
845
set (CMAKE_OSX_DEPLOYMENT_TARGET "" )
846
846
endif ()
847
847
848
- message (STATUS "Building host Swift tools for ${SWIFT_HOST_VARIANT_SDK} ${SWIFT_HOST_VARIANT_ARCH} " )
849
- message (STATUS " Build type: ${CMAKE_BUILD_TYPE} " )
850
- message (STATUS " Assertions: ${LLVM_ENABLE_ASSERTIONS} " )
851
- message (STATUS " LTO: ${SWIFT_TOOLS_ENABLE_LTO} " )
852
- message (STATUS "" )
853
-
854
- if (SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY )
848
+ if (SWIFT_INCLUDE_TOOLS )
849
+ message (STATUS "Building host Swift tools for ${SWIFT_HOST_VARIANT_SDK} ${SWIFT_HOST_VARIANT_ARCH} " )
850
+ message (STATUS " Build type: ${CMAKE_BUILD_TYPE} " )
851
+ message (STATUS " Assertions: ${LLVM_ENABLE_ASSERTIONS} " )
852
+ message (STATUS " LTO: ${SWIFT_TOOLS_ENABLE_LTO} " )
853
+ message (STATUS "" )
854
+ else ()
855
+ message (STATUS "Not building host Swift tools" )
856
+ message (STATUS "" )
857
+ endif ()
855
858
859
+ if (SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY )
856
860
message (STATUS "Building Swift standard library and overlays for SDKs: ${SWIFT_SDKS} " )
857
861
message (STATUS " Build type: ${SWIFT_STDLIB_BUILD_TYPE} " )
858
862
message (STATUS " Assertions: ${SWIFT_STDLIB_ASSERTIONS} " )
@@ -861,12 +865,9 @@ if (SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
861
865
message (STATUS "Building Swift runtime with:" )
862
866
message (STATUS " Leak Detection Checker Entrypoints: ${SWIFT_RUNTIME_ENABLE_LEAK_CHECKER} " )
863
867
message (STATUS "" )
864
-
865
868
else ()
866
-
867
869
message (STATUS "Not building Swift standard library, SDK overlays, and runtime" )
868
870
message (STATUS "" )
869
-
870
871
endif ()
871
872
872
873
#
You can’t perform that action at this time.
0 commit comments