File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ function(add_swift_target target)
81
81
${doc}
82
82
DEPENDS
83
83
${source}
84
+ ${AST_DEPENDS}
84
85
COMMAND
85
86
${CMAKE_SWIFT_COMPILER} -frontend ${flags} -emit-module-path ${mod} -emit-module-doc-path ${doc} -o ${obj} -c ${all_sources} )
86
87
@@ -103,6 +104,7 @@ function(add_swift_target target)
103
104
DEPENDS
104
105
${mods}
105
106
${docs}
107
+ ${AST_DEPENDS}
106
108
COMMAND
107
109
${CMAKE_SWIFT_COMPILER} -frontend ${flags} -sil-merge-partial-modules -emit-module ${mods} -o ${module} -emit-module-doc-path ${documentation} )
108
110
endif ()
@@ -114,6 +116,7 @@ function(add_swift_target target)
114
116
${AST_OUTPUT}
115
117
DEPENDS
116
118
${objs}
119
+ ${AST_DEPENDS}
117
120
COMMAND
118
121
${CMAKE_SWIFT_COMPILER} ${emit_library} ${link_flags} -o ${AST_OUTPUT} ${objs} )
119
122
add_custom_target (${target}
You can’t perform that action at this time.
0 commit comments