File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,17 @@ add_swift_host_tool(swift
14
14
15
15
target_link_libraries (swift edit )
16
16
17
- add_llvm_tool_symlink (swiftc swift ALWAYS_GENERATE )
18
- add_llvm_tool_symlink (swift-autolink-extract swift ALWAYS_GENERATE )
19
- add_llvm_tool_symlink (swift-format swift ALWAYS_GENERATE )
17
+ add_custom_command (TARGET swift POST_BUILD
18
+ COMMAND "${CMAKE_COMMAND} " "-E" "create_symlink" "swift" "swiftc"
19
+ WORKING_DIRECTORY "${SWIFT_RUNTIME_OUTPUT_INTDIR} " )
20
+
21
+ add_custom_command (TARGET swift POST_BUILD
22
+ COMMAND "${CMAKE_COMMAND} " "-E" "create_symlink" "swift" "swift-autolink-extract"
23
+ WORKING_DIRECTORY "${SWIFT_RUNTIME_OUTPUT_INTDIR} " )
24
+
25
+ add_custom_command (TARGET swift POST_BUILD
26
+ COMMAND "${CMAKE_COMMAND} " "-E" "create_symlink" "swift" "swift-format"
27
+ WORKING_DIRECTORY "${SWIFT_RUNTIME_OUTPUT_INTDIR} " )
20
28
21
29
# If building as part of clang, make sure the headers are installed.
22
30
if (NOT SWIFT_BUILT_STANDALONE )
You can’t perform that action at this time.
0 commit comments