Mon, 22 May 2023 19:44:27 +0200
move some menu code to common
173 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
3 | <Import Project="..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.props" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.props')" /> | |
4 | <Import Project="..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.props" Condition="Exists('..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.props')" /> | |
5 | <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props')" /> | |
6 | <ItemGroup Label="ProjectConfigurations"> | |
7 | <ProjectConfiguration Include="Debug|Win32"> | |
8 | <Configuration>Debug</Configuration> | |
9 | <Platform>Win32</Platform> | |
10 | </ProjectConfiguration> | |
11 | <ProjectConfiguration Include="Release|Win32"> | |
12 | <Configuration>Release</Configuration> | |
13 | <Platform>Win32</Platform> | |
14 | </ProjectConfiguration> | |
15 | <ProjectConfiguration Include="Debug|x64"> | |
16 | <Configuration>Debug</Configuration> | |
17 | <Platform>x64</Platform> | |
18 | </ProjectConfiguration> | |
19 | <ProjectConfiguration Include="Release|x64"> | |
20 | <Configuration>Release</Configuration> | |
21 | <Platform>x64</Platform> | |
22 | </ProjectConfiguration> | |
23 | </ItemGroup> | |
24 | <PropertyGroup Label="Globals"> | |
25 | <VCProjectVersion>16.0</VCProjectVersion> | |
26 | <Keyword>Win32Proj</Keyword> | |
27 | <ProjectGuid>{3541f08b-e6cc-4c23-a0d3-51983aab33c6}</ProjectGuid> | |
28 | <RootNamespace>testapp</RootNamespace> | |
29 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | |
30 | </PropertyGroup> | |
31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
32 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
33 | <ConfigurationType>Application</ConfigurationType> | |
34 | <UseDebugLibraries>true</UseDebugLibraries> | |
35 | <PlatformToolset>v143</PlatformToolset> | |
36 | <CharacterSet>Unicode</CharacterSet> | |
37 | </PropertyGroup> | |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
39 | <ConfigurationType>Application</ConfigurationType> | |
40 | <UseDebugLibraries>false</UseDebugLibraries> | |
41 | <PlatformToolset>v143</PlatformToolset> | |
42 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
43 | <CharacterSet>Unicode</CharacterSet> | |
44 | </PropertyGroup> | |
45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | |
46 | <ConfigurationType>Application</ConfigurationType> | |
47 | <UseDebugLibraries>true</UseDebugLibraries> | |
48 | <PlatformToolset>v143</PlatformToolset> | |
49 | <CharacterSet>Unicode</CharacterSet> | |
50 | </PropertyGroup> | |
51 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
52 | <ConfigurationType>Application</ConfigurationType> | |
53 | <UseDebugLibraries>false</UseDebugLibraries> | |
54 | <PlatformToolset>v143</PlatformToolset> | |
55 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
56 | <CharacterSet>Unicode</CharacterSet> | |
57 | </PropertyGroup> | |
58 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
59 | <ImportGroup Label="ExtensionSettings"> | |
60 | </ImportGroup> | |
61 | <ImportGroup Label="Shared"> | |
62 | </ImportGroup> | |
63 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
64 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
65 | </ImportGroup> | |
66 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
67 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
68 | </ImportGroup> | |
69 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
70 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
71 | </ImportGroup> | |
72 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
73 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
74 | </ImportGroup> | |
75 | <PropertyGroup Label="UserMacros" /> | |
76 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
77 | <OutDir>$(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\</OutDir> | |
78 | <IntDir>..\..\..\build\vs\testapp\$(Platform)\$(Configuration)\</IntDir> | |
79 | </PropertyGroup> | |
80 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
81 | <ClCompile> | |
82 | <WarningLevel>Level3</WarningLevel> | |
83 | <SDLCheck>true</SDLCheck> | |
84 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
85 | <ConformanceMode>true</ConformanceMode> | |
86 | </ClCompile> | |
87 | <Link> | |
88 | <SubSystem>Console</SubSystem> | |
89 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
90 | </Link> | |
91 | </ItemDefinitionGroup> | |
92 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
93 | <ClCompile> | |
94 | <WarningLevel>Level3</WarningLevel> | |
95 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
96 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
97 | <SDLCheck>true</SDLCheck> | |
98 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
99 | <ConformanceMode>true</ConformanceMode> | |
100 | </ClCompile> | |
101 | <Link> | |
102 | <SubSystem>Console</SubSystem> | |
103 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
104 | <OptimizeReferences>true</OptimizeReferences> | |
105 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
106 | </Link> | |
107 | </ItemDefinitionGroup> | |
108 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
109 | <ClCompile> | |
110 | <WarningLevel>Level3</WarningLevel> | |
111 | <SDLCheck>true</SDLCheck> | |
112 | <PreprocessorDefinitions>_DEBUG;_CONSOLE;UI_WINUI;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
113 | <ConformanceMode>true</ConformanceMode> | |
114 | </ClCompile> | |
115 | <Link> | |
116 | <SubSystem>Console</SubSystem> | |
117 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
118 | </Link> | |
119 | </ItemDefinitionGroup> | |
120 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
121 | <ClCompile> | |
122 | <WarningLevel>Level3</WarningLevel> | |
123 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
124 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
125 | <SDLCheck>true</SDLCheck> | |
126 | <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
127 | <ConformanceMode>true</ConformanceMode> | |
128 | </ClCompile> | |
129 | <Link> | |
130 | <SubSystem>Console</SubSystem> | |
131 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
132 | <OptimizeReferences>true</OptimizeReferences> | |
133 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
134 | </Link> | |
135 | </ItemDefinitionGroup> | |
136 | <ItemGroup> | |
137 | <ClCompile Include="main.c" /> | |
138 | </ItemGroup> | |
139 | <ItemGroup> | |
140 | <None Include="packages.config" /> | |
141 | </ItemGroup> | |
142 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
143 | <ImportGroup Label="ExtensionTargets"> | |
144 | <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets')" /> | |
145 | <Import Project="..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.targets" Condition="Exists('..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.targets')" /> | |
146 | <Import Project="..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.targets" Condition="Exists('..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.targets')" /> | |
147 | </ImportGroup> | |
148 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |
149 | <PropertyGroup> | |
150 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | |
151 | </PropertyGroup> | |
152 | <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.props'))" /> | |
153 | <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets'))" /> | |
154 | <Error Condition="!Exists('..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.props'))" /> | |
155 | <Error Condition="!Exists('..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.1\build\Microsoft.Windows.SDK.BuildTools.targets'))" /> | |
156 | <Error Condition="!Exists('..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.props'))" /> | |
157 | <Error Condition="!Exists('..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.WindowsAppSDK.1.3.230331000\build\native\Microsoft.WindowsAppSDK.targets'))" /> | |
158 | </Target> | |
159 | </Project> |