Skip to content

feat(build): clang-cl support #5195#5205

Merged
aleks-f merged 3 commits intomainfrom
5195-clang-cl
Feb 13, 2026
Merged

feat(build): clang-cl support #5195#5205
aleks-f merged 3 commits intomainfrom
5195-clang-cl

Conversation

@aleks-f
Copy link
Copy Markdown
Member

@aleks-f aleks-f commented Feb 13, 2026

No description provided.

@aleks-f aleks-f requested review from Copilot and matejk February 13, 2026 17:39
@aleks-f aleks-f added this to the Release 1.15.1 milestone Feb 13, 2026
@aleks-f aleks-f self-assigned this Feb 13, 2026
@aleks-f aleks-f linked an issue Feb 13, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds / improves clang-cl support in CMake-based builds by introducing a compiler/cross-compile selection module, tightening some Windows/Clang linking behavior, and validating the setup via CI.

Changes:

  • Introduces POCO_COMPILER / POCO_CROSS_COMPILE CMake options for selecting compilers and cross-compilation targets (including clang-cl handling).
  • Updates Windows SSL socket implementation declarations to use override for better clang-cl/MSVC compatibility.
  • Adds a Windows clang-cl CI job and prints selected compiler/toolchain information during configuration.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
cmake/PocoCompilerSelect.cmake New pre-project() compiler/cross-compile selection logic + clang-cl host-target auto-detection
CMakeLists.txt Includes the new compiler select module early and prints compiler selection details
NetSSL_Win/include/Poco/Net/SecureStreamSocketImpl.h Adds override specifiers to virtual overrides (helps clang-cl catch mismatches)
Net/include/Poco/Net/Net.h Adjusts symbol-forcing macro conditional to include Clang
.github/workflows/ci.yml Adds a Windows clang-cl (Ninja+CMake) build/test job

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

aleks-f and others added 2 commits February 13, 2026 19:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@aleks-f aleks-f merged commit 21c95af into main Feb 13, 2026
102 checks passed
@aleks-f aleks-f deleted the 5195-clang-cl branch February 13, 2026 22:27
matejk pushed a commit that referenced this pull request Feb 14, 2026
* feat(build): clang-cl support #5195

* Update cmake/PocoCompilerSelect.cmake

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* usce NATURAL ORDER on android

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@matejk matejk added the feature label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

clang-cl support

3 participants