Skip to content

Commit 10820f3

Browse files
authored
Merge pull request #18271 from ahoppen/swift-swiftsyntax-build-issue
[swiftSyntax] Fix an issue that caused swift-swiftsyntax-test to not be generated by Xcode
2 parents ae6645d + aa49939 commit 10820f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/swift-swiftsyntax-test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
add_swift_host_tool(swift-swiftsyntax-test
22
main.swift
33
CommandLineArguments.swift
4+
empty.c # FIXME: If there is no C file in the target Xcode skips the linking phase and doesn't create the executable
45
COMPILE_FLAGS "-module-name" "main"
56
DEPENDS
67
swiftSwiftSyntax-macosx

tools/swift-swiftsyntax-test/empty.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)