Skip to content

VS: Pass platform when invoking MSBuild

Brad King requested to merge brad.king/cmake:vs-msbuild-platform into master

MSBuild expects a /p:Platform=... argument to tell it which platform to build among those in the .vcxproj files. We have not historically had to do this because we generate only one platform. However, when a project uses include_external_msproject the included project file may have other platforms.

Fixes: #18308 (closed)

Merge request reports