We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea228f commit 57a1401Copy full SHA for 57a1401
lib/CMakeLists.txt
@@ -12,6 +12,30 @@
12
# directory.
13
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen clang-tablegen-targets)
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
39
add_subdirectory(APIDigester)
40
add_subdirectory(AST)
41
add_subdirectory(ASTGen)
0 commit comments