File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ add_subdirectory(PackageSigning)
2828add_subdirectory (SPMBuildCore)
2929add_subdirectory (SPMLLBuild)
3030add_subdirectory (SourceControl)
31+ add_subdirectory (SourceKitLSPAPI)
3132add_subdirectory (swift-bootstrap)
3233add_subdirectory (swift-build )
3334add_subdirectory (swift-experimental-sdk)
Original file line number Diff line number Diff line change 1+ # This source file is part of the Swift 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_library (SourceKitLSPAPI STATIC
10+ BuildDescription.swift
11+ PluginTargetBuildDescription.swift)
12+ target_link_libraries (SourceKitLSPAPI PUBLIC
13+ Build
14+ SPMBuildCore)
15+
16+ # NOTE(compnerd) workaround for CMake not setting up include flags yet
17+ set_target_properties (SourceKitLSPAPI PROPERTIES
18+ INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
You can’t perform that action at this time.
0 commit comments