Skip to content

Commit 247e3ce

Browse files
authored
Merge pull request #2510 from etcwilde/ewilde/expose-compiler-plugins
Expose SwiftCompilerPlugin to CMake consumers
2 parents 713f08f + 0c9b286 commit 247e3ce

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Sources/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ add_subdirectory(SwiftSyntaxMacros)
1818
add_subdirectory(SwiftSyntaxMacroExpansion)
1919
add_subdirectory(SwiftCompilerPluginMessageHandling)
2020
add_subdirectory(SwiftIDEUtils)
21+
add_subdirectory(SwiftCompilerPlugin)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This source file is part of the Swift.org open source project
2+
#
3+
# Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors
4+
# Licensed under Apache License v2.0 with Runtime Library Exception
5+
#
6+
# See http://swift.org/LICENSE.txt for license information
7+
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8+
9+
add_swift_syntax_library(SwiftCompilerPlugin
10+
CompilerPlugin.swift
11+
)
12+
13+
target_link_swift_syntax_libraries(SwiftCompilerPlugin PUBLIC
14+
SwiftSyntaxMacros
15+
SwiftCompilerPluginMessageHandling)

0 commit comments

Comments
 (0)