1
- set (ASTGen_Swift_dependencies )
1
+ add_subdirectory ( Sources )
2
2
3
3
# If requested, build the regular expression parser into the compiler itself.
4
4
if (SWIFT_BUILD_REGEX_PARSER_IN_COMPILER)
@@ -14,69 +14,7 @@ if(SWIFT_BUILD_REGEX_PARSER_IN_COMPILER)
14
14
add_pure_swift_host_library(_CompilerRegexParser STATIC
15
15
"${COMPILER_REGEX_PARSER_SOURCES} "
16
16
)
17
-
18
- list (APPEND ASTGen_Swift_dependencies _CompilerRegexParser)
17
+ else ()
18
+ # Dummy target for dependencies
19
+ add_custom_target (_CompilerRegexParser)
19
20
endif ()
20
-
21
- add_pure_swift_host_library(swiftASTGen STATIC CXX_INTEROP
22
- Sources /ASTGen/ASTGen.swift
23
- Sources /ASTGen/ASTGen+CompilerBuildConfiguration.swift
24
- Sources /ASTGen/Bridge.swift
25
- Sources /ASTGen/CompilerBuildConfiguration.swift
26
- Sources /ASTGen/DeclAttrs.swift
27
- Sources /ASTGen/Decls.swift
28
- Sources /ASTGen/Diagnostics.swift
29
- Sources /ASTGen/DiagnosticsBridge.swift
30
- Sources /ASTGen/Exprs.swift
31
- Sources /ASTGen/Generics.swift
32
- Sources /ASTGen/LegacyParse.swift
33
- Sources /ASTGen/Literals.swift
34
- Sources /ASTGen/ParameterClause.swift
35
- Sources /ASTGen/Patterns.swift
36
- Sources /ASTGen/Regex .swift
37
- Sources /ASTGen/SourceFile.swift
38
- Sources /ASTGen/Stmts.swift
39
- Sources /ASTGen/TypeAttrs.swift
40
- Sources /ASTGen/Types.swift
41
-
42
- DEPENDENCIES
43
- swiftAST
44
- SWIFT_DEPENDENCIES
45
- _CompilerSwiftSyntax
46
- _CompilerSwiftIfConfig
47
- _CompilerSwiftOperators
48
- _CompilerSwiftSyntaxBuilder
49
- _CompilerSwiftParser
50
- _CompilerSwiftParserDiagnostics
51
- _CompilerSwiftDiagnostics
52
- ${ASTGen_Swift_dependencies}
53
- )
54
-
55
- add_pure_swift_host_library(swiftMacros STATIC CXX_INTEROP
56
- Sources /Macros /Macros .swift
57
- Sources /Macros /PluginHost.swift
58
- Sources /Macros /SourceManager.swift
59
-
60
- DEPENDENCIES
61
- swiftAST
62
- SWIFT_DEPENDENCIES
63
- _CompilerSwiftCompilerPluginMessageHandling
64
- _CompilerSwiftDiagnostics
65
- _CompilerSwiftOperators
66
- _CompilerSwiftParser
67
- _CompilerSwiftSyntax
68
- _CompilerSwiftSyntaxMacroExpansion
69
- swiftASTGen
70
- )
71
-
72
- add_pure_swift_host_library(swiftIDEUtilsBridging CXX_INTEROP
73
- Sources /SwiftIDEUtilsBridging/NameMatcherBridging.swift
74
-
75
- DEPENDENCIES
76
- swiftAST
77
- SWIFT_DEPENDENCIES
78
- _CompilerSwiftIDEUtils
79
- _CompilerSwiftSyntax
80
- _CompilerSwiftIDEUtils
81
- swiftASTGen
82
- )
0 commit comments