You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SwiftTargets.cmake
+44-52Lines changed: 44 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,26 @@ define_property(TARGET
156
156
BRIEF_DOCS "Swift target type"
157
157
FULL_DOCS "For use by other modules in this repository which need to know the classification of target. One of executable, library, tool, tool_library, test, test_library")
158
158
159
+
define_property(TARGET
160
+
PROPERTY INTERFACE_SWIFT_TYPE
161
+
BRIEF_DOCS "Swift target type"
162
+
FULL_DOCS "Identical use as SWIFT_TYPE except that this applies to ALL target types, including INTERFACE")
163
+
164
+
define_property(TARGET
165
+
PROPERTY SWIFT_PROJECT
166
+
BRIEF_DOCS "Swift project name"
167
+
FULL_DOCS "For use by other modules in this repository which need to know the project which this target belongs to")
168
+
169
+
define_property(TARGET
170
+
PROPERTY INTERFACE_SWIFT_PROJECT
171
+
BRIEF_DOCS "Swift project name"
172
+
FULL_DOCS "Identical use as SWIFT_PROJECT except that this applies to ALL target types, including INTERFACE")
173
+
174
+
define_property(TARGET
175
+
PROPERTY SWIFT_TEST_TYPE
176
+
BRIEF_DOCS "Swift test type"
177
+
FULL_DOCS "When target's SWIFT_PROJECT property is \"test\", this option, if set, will identify what type of test it is. Currently support \"unit\" or \"integration\"")
0 commit comments