File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ add_subdirectory(SourceKitLSPAPI)
30
30
add_subdirectory (SPMBuildCore )
31
31
add_subdirectory (SPMLLBuild )
32
32
add_subdirectory (SPMSQLite3 )
33
+ add_subdirectory (SwiftFixIt )
33
34
add_subdirectory (swift-bootstrap )
34
35
add_subdirectory (swift-build )
35
36
add_subdirectory (swift-experimental-sdk )
Original file line number Diff line number Diff line change 6
6
# See http://swift.org/LICENSE.txt for license information
7
7
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8
8
9
- add_library (SwiftFixIt STATIC
9
+ add_library (SwiftFixIt
10
10
SwiftFixIt.swift )
11
11
target_link_libraries (SwiftFixIt PUBLIC
12
12
Basics
@@ -17,8 +17,14 @@ target_link_libraries(SwiftFixIt PUBLIC
17
17
SwiftSyntax::SwiftSyntax
18
18
19
19
TSCBasic
20
- TSCUtility
21
- )
20
+ TSCUtility )
22
21
22
+ # NOTE(compnerd) workaround for CMake not setting up include flags yet
23
23
set_target_properties (SwiftFixIt PROPERTIES
24
24
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
25
+
26
+ install (TARGETS SwiftFixIt
27
+ ARCHIVE DESTINATION lib
28
+ LIBRARY DESTINATION lib
29
+ RUNTIME DESTINATION bin )
30
+ set_property (GLOBAL APPEND PROPERTY SwiftPM_EXPORTS SwiftFixIt )
You can’t perform that action at this time.
0 commit comments