File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2124,3 +2124,8 @@ function(add_swift_host_tool executable)
2124
2124
endif ()
2125
2125
endif ()
2126
2126
endfunction ()
2127
+
2128
+ macro (add_swift_tool_symlink name dest component )
2129
+ add_llvm_tool_symlink (${name} ${dest} ALWAYS_GENERATE )
2130
+ llvm_install_symlink (${name} ${dest} ALWAYS_GENERATE COMPONENT ${component} )
2131
+ endmacro ()
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ swift_create_post_build_symlink(swift
31
31
DESTINATION "swift-autolink-extract${CMAKE_EXECUTABLE_SUFFIX} "
32
32
WORKING_DIRECTORY "${SWIFT_RUNTIME_OUTPUT_INTDIR} " )
33
33
34
+ add_swift_tool_symlink (swiftc swift compiler )
35
+ add_swift_tool_symlink (swift-autolink-extract swift autolink-driver )
36
+ add_swift_tool_symlink (swift-format swift editor-integration )
37
+
34
38
# If building as part of clang, make sure the headers are installed.
35
39
if (NOT SWIFT_BUILT_STANDALONE )
36
40
add_dependencies (swift clang-headers )
You can’t perform that action at this time.
0 commit comments