build: add CMake (Windows only)#3084
Open
asamy wants to merge 1 commit into
Open
Conversation
asamy
force-pushed
the
cmake
branch
2 times, most recently
from
May 6, 2026 13:03
e534be1 to
758dc96
Compare
Member
|
I'd really like to see CI for this before merging. |
asamy
force-pushed
the
cmake
branch
2 times, most recently
from
May 12, 2026 16:00
195a2dc to
1bbeb02
Compare
Author
|
Done. I also recommend that you adjust repo settings to allow for NuGet package cache (vcpkgs) so that the build just fetches the prebuilt libs from there instead of rebuilding each time which usually takes some time. The NuGet fetch part is done in the CI file. |
asamy
force-pushed
the
cmake
branch
3 times, most recently
from
May 15, 2026 10:03
03bb070 to
bb3da1f
Compare
Signed-off-by: Ahmed Samy <asamy@protonmail.com>
Author
|
Hi, is this being considered now that CI is in as requested? I would rather not maintain an own fork just for this small build thing. Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows out-of-tree building and some automation for external projects, specifically those that use it as a static library. Unfortunately the MSVC projects that are provided aren't flexible, specifically ConfigurationType and RuntimeLibrary aren't configurable via the command line due to the way they are specified, it was also difficult to configure other things such as toolset etc.
This is only limited to Windows. I am not setup for Linux/Mac.