File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 12
12
# directory.
13
13
list (APPEND LLVM_COMMON_DEPENDS intrinsics_gen clang-tablegen-targets )
14
14
15
+ # Set up for linking against swift-syntax.
16
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
17
+ set (SWIFT_SYNTAX_MODULES
18
+ SwiftBasicFormat
19
+ SwiftParser
20
+ SwiftParserDiagnostics
21
+ SwiftDiagnostics
22
+ SwiftSyntax
23
+ SwiftOperators
24
+ SwiftSyntaxBuilder
25
+ SwiftSyntaxMacros
26
+ SwiftSyntaxMacroExpansion
27
+ SwiftCompilerPluginMessageHandling
28
+ )
29
+
30
+ swift_install_in_component (
31
+ TARGETS ${SWIFT_SYNTAX_MODULES}
32
+ DESTINATION "lib${LLVM_LIBDIR_SUFFIX} /swift/host"
33
+ COMPONENT compiler
34
+ )
35
+ # TODO: Install for Windoes
36
+ # TODO: Install .swiftmodule
37
+ endif ()
38
+
15
39
add_subdirectory (APIDigester )
16
40
add_subdirectory (AST )
17
41
add_subdirectory (ASTGen )
You can’t perform that action at this time.
0 commit comments