File tree 4 files changed +4
-19
lines changed
4 files changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -49,21 +49,6 @@ if (LLDB_ENABLE_SWIFT_SUPPORT)
49
49
endif ()
50
50
endif ()
51
51
52
- # When we have the early SwiftSyntax build, we can include its parser.
53
- if (LLDB_ENABLE_SWIFT_SUPPORT)
54
- if (SWIFT_PATH_TO_EARLYSWIFTSYNTAX_BUILD_DIR)
55
- set (SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS
56
- ${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_BUILD_DIR} /cmake/SwiftSyntaxTargets.cmake)
57
- if (NOT EXISTS "${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS} " )
58
- message (STATUS "Skipping Swift Swift parser integration due to missing early SwiftSyntax" )
59
- else ()
60
- set (SWIFT_SWIFT_PARSER TRUE )
61
- include (${SWIFT_PATH_TO_EARLYSWIFTSYNTAX_TARGETS} )
62
- endif ()
63
- endif ()
64
- endif ()
65
- # END - Swift Mods
66
-
67
52
# Define the LLDB_CONFIGURATION_xxx matching the build type.
68
53
if (uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
69
54
add_definitions (-DLLDB_CONFIGURATION_DEBUG)
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ function(add_properties_for_swift_modules target reldir)
164
164
endif ()
165
165
166
166
if (NOT BOOTSTRAPPING_MODE)
167
- if (SWIFT_SWIFT_PARSER )
167
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
168
168
set (APSM_BOOTSTRAPPING_MODE "HOSTTOOLS" )
169
169
endif ()
170
170
else ()
@@ -206,7 +206,7 @@ function(add_properties_for_swift_modules target reldir)
206
206
${SWIFT_PATH_TO_SWIFT_SDK} /usr/lib/swift/Windows/x86_64)
207
207
endif ()
208
208
209
- if (SWIFT_SWIFT_PARSER )
209
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
210
210
if (CMAKE_SYSTEM_NAME MATCHES "Darwin" )
211
211
set_property (TARGET ${target}
212
212
APPEND PROPERTY BUILD_RPATH "@loader_path/${build_reldir} lib/swift/host" )
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ target_include_directories(lldb-server PRIVATE "${LLDB_SOURCE_DIR}/source")
69
69
target_link_libraries (lldb-server PRIVATE ${LLDB_SYSTEM_LIBS} )
70
70
71
71
# BEGIN Swift Mods
72
- if (SWIFT_SWIFT_PARSER )
72
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
73
73
add_properties_for_swift_modules(lldb-server "../" )
74
74
endif ()
75
75
# END Swift Mods
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function(add_lldb_unittest test_name)
43
43
target_link_libraries (${test_name} PRIVATE ${ARG_LINK_LIBS} )
44
44
45
45
# BEGIN Swift Mods
46
- if (SWIFT_SWIFT_PARSER )
46
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
47
47
add_properties_for_swift_modules(${test_name} "../" )
48
48
endif ()
49
49
# END Swift Mods
You can’t perform that action at this time.
0 commit comments