mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -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
28 lines
1.0 KiB
CMake
28 lines
1.0 KiB
CMake
RunCMake_check_slnx("${RunCMake_TEST_BINARY_DIR}/PrePost.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="Emptysec" Scope="PostLoad"/>
|
|
<Properties Name="Postsec" Scope="PostLoad">
|
|
<Properties Name="Key1" Value="Value2"/>
|
|
</Properties>
|
|
<Properties Name="Presec">
|
|
<Properties Name="Key1" Value="Value1"/>
|
|
<Properties Name="Key2" Value="Value with some spaces"/>
|
|
</Properties>
|
|
</Solution>$]])
|