mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
70ed720232
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
24 lines
901 B
CMake
24 lines
901 B
CMake
RunCMake_check_slnx("${RunCMake_TEST_BINARY_DIR}/OnePre.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"/>
|
|
<Build Solution="Debug\|\*" Project="false"/>
|
|
<Build Solution="Release\|\*" Project="false"/>
|
|
<Build Solution="MinSizeRel\|\*" Project="false"/>
|
|
<Build Solution="RelWithDebInfo\|\*" Project="false"/>
|
|
</Project>
|
|
<Project Path="ZERO_CHECK\.vcxproj" Id="[0-9a-f-]+"/>
|
|
<Properties Name="TestSec1">
|
|
<Properties Name="Key1" Value="Value1"/>
|
|
<Properties Name="Key2" Value="Value with spaces"/>
|
|
</Properties>
|
|
</Solution>$]])
|