File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
25
25
SwiftSyntaxMacros
26
26
SwiftSyntaxMacroExpansion
27
27
SwiftCompilerPluginMessageHandling
28
+ # Support for LSP
29
+ SwiftIDEUtils
28
30
)
29
31
30
32
# Install shared runtime libraries
@@ -56,6 +58,9 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
56
58
COMPONENT swift-syntax-lib )
57
59
endif ()
58
60
61
+ add_dependencies (swift-syntax-lib
62
+ ${SWIFT_SYNTAX_MODULES} )
63
+
59
64
# Install Swift module interface files.
60
65
foreach (module ${SWIFT_SYNTAX_MODULES} )
61
66
set (module_dir "${module} .swiftmodule" )
@@ -64,6 +69,11 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
64
69
DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/host/${module_dir} "
65
70
COMPONENT swift-syntax-lib )
66
71
endforeach ()
72
+
73
+ export (TARGETS ${SWIFT_SYNTAX_MODULES}
74
+ NAMESPACE SwiftSyntax::
75
+ FILE ${CMAKE_BINARY_DIR} /cmake/modules/SwiftSyntaxConfig.cmake
76
+ EXPORT_LINK_INTERFACE_LIBRARIES )
67
77
endif ()
68
78
69
79
add_subdirectory (APIDigester )
You can’t perform that action at this time.
0 commit comments