Skip to content
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

Add cmake build for Windows #7

Closed
wants to merge 4 commits into from

Conversation

matthewbastien
Copy link
Member

This is tracked by rdar://139431575 as a part of swiftlang/vscode-swift#562

Add a cmake build of swift-lmdb for Windows that can be used by swiftlang/indexstore-db to match the version of LMDB used by swift-docc. This enables SourceKit-LSP to use swift-docc as a dependency to fulfill documentation requests on behalf of the VS Code Swift extension.

@@ -0,0 +1,7 @@
add_library(CLMDB STATIC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why explicitly static? Why not drop STATIC and let the user control the library type?

@compnerd
Copy link
Member

BTW, what is the difference between this and #6? I can unmark that as a draft if that is helpful.

@matthewbastien
Copy link
Member Author

BTW, what is the difference between this and #6? I can unmark that as a draft if that is helpful.

I don't think there is a difference at all, really. If that PR is ready then I'm fine with using it instead. I'm really not all that familiar with cmake. So, I'm mostly doing this by trial and error and looking at other projects.

@compnerd
Copy link
Member

@matthewbastien yes, that PR has been ready, the only reason it was marked as a draft is because I didn't have the DocC change ready to go yet (I have a CMake based build of DocC which was significantly reducing the build times and somewhat on the size as well).

@matthewbastien
Copy link
Member Author

Awesome, thank you! I'm closing this PR in favour of yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants