Skip to content

Switch to using v145 as the default compiler for Windows - #12

Open
filipppavlov wants to merge 5 commits into
mainfrom
v145
Open

Switch to using v145 as the default compiler for Windows#12
filipppavlov wants to merge 5 commits into
mainfrom
v145

Conversation

@filipppavlov

Copy link
Copy Markdown
Contributor

Update CMakePresets.json and TC config to use v145 compiler when building for Windows. Fix compile errors when building with v145.

Copilot AI lite review requested due to automatic review settings August 25, 2026 10:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Windows build configuration to default to the v145 toolset (and corresponding vcpkg toolchain/triplets), and applies a set of C++ include fixes to resolve stricter compiler/header requirements when building with v145 on Windows.

Changes:

  • Update Windows CMake preset to chainload the x64-windows-145 vcpkg toolchain and use x64-windows-145-* triplets.
  • Update TeamCity Windows build bootstrap to call a configurable VS dev environment script with switches targeting the v145 toolset.
  • Fix Windows/v145 compilation issues by adding missing standard library headers in several C++ sources/headers.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/viewer/rendering/vulkan/texture.cpp Adds a missing standard header include needed for compilation.
src/viewer/rendering/vulkan/shadercache.cpp Adds a missing standard header include needed for compilation.
src/viewer/rendering/ui/uiCustomWidgets.h Adds a missing standard header include needed for compilation.
src/viewer/rendering/renderable/geometryprepass.cpp Adds a missing standard header include needed for compilation.
src/viewer/data/cmfcontent.h Adds missing standard header includes needed for compilation.
src/processor/cmffile.cpp Adds a missing standard header include needed for compilation.
CMakePresets.json Switches Windows preset/toolchain + vcpkg triplets to the -145- variants.
.teamcity/Windows/Project.kt Updates Windows CI bootstrap to use a configurable VS dev cmd path + switches (v145-oriented).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .teamcity/Windows/Project.kt
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