Skip to content

Windows native support (with Microsoft Visual Studio)#918

Open
SamuelMarks wants to merge 2 commits into
RsyncProject:masterfrom
SamuelMarks:windows
Open

Windows native support (with Microsoft Visual Studio)#918
SamuelMarks wants to merge 2 commits into
RsyncProject:masterfrom
SamuelMarks:windows

Conversation

@SamuelMarks
Copy link
Copy Markdown

> cmake -G "Visual Studio 18 2026" -DCMAKE_TOOLCHAIN_FILE="..\vcpkg\scripts\buildsystems\vcpkg.cmake" -A x64 -S . -B build
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200.
-- The C compiler identification is MSVC 19.50.35730.0
[… omitted for brevity]
> cmake --build build --config Debug --parallel
[… omitted for brevity]

Which will produce a neat 2MB rsync.exe. Release mode gives a 440KB rsync.exe.

Copy link
Copy Markdown
Member

@tridge tridge left a comment

Choose a reason for hiding this comment

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

thanks!
Please add a CI job as well to test this, preferably with it running the test suite

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