Files
CMake/Tests/RunCMake/VSSolution/AddPackageToDefault-check-slnx.cmake
T
Brad King 70ed720232 VS: Add SLNX default startup project
At the time of commit e6aa7742b0 (VS: Generate .slnx files for VS 2026,
2025-09-17, v4.2.0-rc1~151^2), the VS 18 Insiders edition did not offer
support for specifying a default startup project in `.slnx` files.
This has since been added, so use it.

Fixes: #27387
2025-11-14 11:03:57 -05:00

20 lines
717 B
CMake

RunCMake_check_slnx("${RunCMake_TEST_BINARY_DIR}/AddPackageToDefault.slnx" [[
^<\?xml version="1\.0" encoding="UTF-8"\?>
<Solution>
<Configurations>
<BuildType Name="Debug"/>
<BuildType Name="Release"/>
<BuildType Name="MinSizeRel"/>
<BuildType Name="RelWithDebInfo"/>
<Platform Name="[^"]+"/>
</Configurations>
<Project Path="ALL_BUILD\.vcxproj" Id="[0-9a-f-]+" DefaultStartup="true">
<BuildDependency Project="ZERO_CHECK\.vcxproj"/>
</Project>
<Project Path="PACKAGE.vcxproj" Id="[0-9a-f-]+">
<BuildDependency Project="ALL_BUILD.vcxproj"/>
<BuildDependency Project="ZERO_CHECK.vcxproj"/>
</Project>
<Project Path="ZERO_CHECK\.vcxproj" Id="[0-9a-f-]+"/>
</Solution>$]])