mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This makes sure that diagnostics returned for a particular state of source buffer are consistent and accurate. rdar://32769873
16 lines
382 B
CMake
16 lines
382 B
CMake
if(NOT SWIFT_HOST_VARIANT MATCHES "${SWIFT_DARWIN_EMBEDDED_VARIANTS}")
|
|
|
|
add_swift_unittest(SourceKitSwiftLangTests
|
|
CursorInfoTest.cpp
|
|
EditingTest.cpp
|
|
)
|
|
|
|
target_link_libraries(SourceKitSwiftLangTests
|
|
SourceKitSwiftLang
|
|
)
|
|
|
|
set_property(TARGET SourceKitSwiftLangTests APPEND_STRING PROPERTY COMPILE_FLAGS
|
|
" '-DSWIFTLIB_DIR=\"${SWIFTLIB_DIR}\"'")
|
|
|
|
endif()
|