Skip to content

Commit 72434ac

Browse files
committed
The Observation library doesn't depend on swift-syntax any more
1 parent 5786cbd commit 72434ac

File tree

1 file changed

+19
-22
lines changed

1 file changed

+19
-22
lines changed

stdlib/public/Observation/Sources/Observation/CMakeLists.txt

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,25 @@
1010
#
1111
#===----------------------------------------------------------------------===#
1212

13-
# We can only build when earlyswiftsyntax is enabled.
14-
if (SWIFT_SWIFT_PARSER)
15-
list(APPEND swift_runtime_library_compile_flags -I${SWIFT_SOURCE_DIR}/stdlib/include -I${SWIFT_SOURCE_DIR}/include)
13+
list(APPEND swift_runtime_library_compile_flags -I${SWIFT_SOURCE_DIR}/stdlib/include -I${SWIFT_SOURCE_DIR}/include)
1614

17-
add_swift_target_library(swiftObservation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
18-
Locking.cpp
19-
Locking.swift
20-
Macros.swift
21-
Observable.swift
22-
ObservationRegistrar.swift
23-
ObservationTracking.swift
24-
ObservedChanges.swift
25-
ObservedTransactions.swift
26-
ThreadLocal.cpp
27-
ThreadLocal.swift
28-
TrackedProperties.swift
15+
add_swift_target_library(swiftObservation ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
16+
Locking.cpp
17+
Locking.swift
18+
Macros.swift
19+
Observable.swift
20+
ObservationRegistrar.swift
21+
ObservationTracking.swift
22+
ObservedChanges.swift
23+
ObservedTransactions.swift
24+
ThreadLocal.cpp
25+
ThreadLocal.swift
26+
TrackedProperties.swift
2927

30-
SWIFT_COMPILE_FLAGS
31-
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
32-
SWIFT_MODULE_DEPENDS _Concurrency
33-
INSTALL_IN_COMPONENT stdlib
28+
SWIFT_COMPILE_FLAGS
29+
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
30+
SWIFT_MODULE_DEPENDS _Concurrency
31+
INSTALL_IN_COMPONENT stdlib
3432

35-
MACCATALYST_BUILD_FLAVOR "zippered"
36-
)
37-
endif()
33+
MACCATALYST_BUILD_FLAVOR "zippered"
34+
)

0 commit comments

Comments
 (0)