-
Notifications
You must be signed in to change notification settings - Fork 314
build: repair build on Windows #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -11,6 +11,10 @@ target_link_libraries(sourcekit-lsp PRIVATE | |||
LanguageServerProtocolJSONRPC | |||
SourceKit | |||
TSCUtility) | |||
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) | |||
target_link_libraries(sourcekit-lsp PRIVATE | |||
FoundationXML) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this redundant with the change to Sourcekit/CMakeLists.txt? We only use FoundationXML in that module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite possibly! This is an old change that I didn’t update. I’ll adjust and update it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay, this was needed to resolve a path issue when building against the Foundation build tree products as the import FoundationXML
causes the client to see the import.
This enables building SourceKit-LSP on Windows. This is sufficient to repair the build, though it is insufficient to run currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, LGTM except it needs to get rebased - the "SourceKit" target was renamed to "SourceKitLSP".
@swift-ci please test |
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test macOS platform |
@swift-ci please test Linux platform |
This enables building SourceKit-LSP on Windows. This is sufficient to
repair the build, though it is insufficient to run currently.