Skip to content

Fix WDK7 CMake MSVC version detection#5

Merged
tinysec merged 1 commit into
masterfrom
fix-wdk7-cmake-msvc-version
Jun 6, 2026
Merged

Fix WDK7 CMake MSVC version detection#5
tinysec merged 1 commit into
masterfrom
fix-wdk7-cmake-msvc-version

Conversation

@tinysec

@tinysec tinysec commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Fix the bundled WDK7 CMake toolchain for CMake 4.3 and CXX-only projects.\n\nCMake can identify WDK7 cl.exe as MSVC 15.0.30729.207 but still enter Windows-MSVC.cmake without CMAKE_CXX_COMPILER_VERSION populated for CXX-only projects, causing:\n\n MSVC compiler version not detected properly\n\nThis explicitly sets the WDK7/VS2008 compiler and MSVC toolset version variables in the toolchain.\n\nValidated locally with a fresh CXX-only WDK7 configure/build/ctest using the modified cmake/wdk7.cmake.

@tinysec tinysec merged commit c09081e into master Jun 6, 2026
1 check passed
@tinysec tinysec deleted the fix-wdk7-cmake-msvc-version branch June 6, 2026 16:29
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.

1 participant