|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|
3 <Import Project="..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.props" Condition="Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.props')" /> |
|
4 <Import Project="..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.props" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.props')" /> |
|
5 <Import Project="..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" /> |
|
6 <PropertyGroup Label="Globals"> |
|
7 <CppWinRTOptimized>true</CppWinRTOptimized> |
|
8 <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> |
|
9 <MinimalCoreWin>true</MinimalCoreWin> |
|
10 <ProjectGuid>{59f97886-bf49-4b3f-9ef6-fa7a84f3ab56}</ProjectGuid> |
|
11 <ProjectName>winui</ProjectName> |
|
12 <RootNamespace>winui</RootNamespace> |
|
13 <!-- |
|
14 $(TargetName) should be same as $(RootNamespace) so that the produced binaries (.exe/.pri/etc.) |
|
15 have a name that matches the .winmd |
|
16 --> |
|
17 <TargetName>$(RootNamespace)</TargetName> |
|
18 <DefaultLanguage>de-DE</DefaultLanguage> |
|
19 <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion> |
|
20 <AppContainerApplication>false</AppContainerApplication> |
|
21 <AppxPackage>false</AppxPackage> |
|
22 <ApplicationType>Windows Store</ApplicationType> |
|
23 <ApplicationTypeRevision>10.0</ApplicationTypeRevision> |
|
24 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
|
25 <WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion> |
|
26 <UseWinUI>true</UseWinUI> |
|
27 <EnableMsixTooling>true</EnableMsixTooling> |
|
28 <WindowsPackageType>None</WindowsPackageType> |
|
29 <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> |
|
30 </PropertyGroup> |
|
31 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
|
32 <ItemGroup Label="ProjectConfigurations"> |
|
33 <ProjectConfiguration Include="Debug|Win32"> |
|
34 <Configuration>Debug</Configuration> |
|
35 <Platform>Win32</Platform> |
|
36 </ProjectConfiguration> |
|
37 <ProjectConfiguration Include="Debug|x64"> |
|
38 <Configuration>Debug</Configuration> |
|
39 <Platform>x64</Platform> |
|
40 </ProjectConfiguration> |
|
41 <ProjectConfiguration Include="Debug|ARM64"> |
|
42 <Configuration>Debug</Configuration> |
|
43 <Platform>ARM64</Platform> |
|
44 </ProjectConfiguration> |
|
45 <ProjectConfiguration Include="Release|Win32"> |
|
46 <Configuration>Release</Configuration> |
|
47 <Platform>Win32</Platform> |
|
48 </ProjectConfiguration> |
|
49 <ProjectConfiguration Include="Release|x64"> |
|
50 <Configuration>Release</Configuration> |
|
51 <Platform>x64</Platform> |
|
52 </ProjectConfiguration> |
|
53 <ProjectConfiguration Include="Release|ARM64"> |
|
54 <Configuration>Release</Configuration> |
|
55 <Platform>ARM64</Platform> |
|
56 </ProjectConfiguration> |
|
57 </ItemGroup> |
|
58 <PropertyGroup Label="Configuration"> |
|
59 <ConfigurationType>DynamicLibrary</ConfigurationType> |
|
60 <PlatformToolset>v143</PlatformToolset> |
|
61 <CharacterSet>Unicode</CharacterSet> |
|
62 <DesktopCompatible>true</DesktopCompatible> |
|
63 </PropertyGroup> |
|
64 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> |
|
65 <UseDebugLibraries>true</UseDebugLibraries> |
|
66 <LinkIncremental>true</LinkIncremental> |
|
67 </PropertyGroup> |
|
68 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> |
|
69 <UseDebugLibraries>false</UseDebugLibraries> |
|
70 <WholeProgramOptimization>true</WholeProgramOptimization> |
|
71 <LinkIncremental>false</LinkIncremental> |
|
72 </PropertyGroup> |
|
73 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
|
74 <ImportGroup Label="ExtensionSettings"> |
|
75 </ImportGroup> |
|
76 <ImportGroup Label="PropertySheets"> |
|
77 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
|
78 </ImportGroup> |
|
79 <PropertyGroup Label="UserMacros" /> |
|
80 <ItemDefinitionGroup> |
|
81 <ClCompile> |
|
82 <PrecompiledHeader>Use</PrecompiledHeader> |
|
83 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> |
|
84 <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile> |
|
85 <WarningLevel>Level4</WarningLevel> |
|
86 <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions> |
|
87 </ClCompile> |
|
88 </ItemDefinitionGroup> |
|
89 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> |
|
90 <ClCompile> |
|
91 <PreprocessorDefinitions>_DEBUG;DISABLE_XAML_GENERATED_MAIN__;UI_WINUI;UI_WINUI_PCH;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
92 <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\..\ucx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
|
93 </ClCompile> |
|
94 <Link> |
|
95 <AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">shell32.lib;gdi32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
96 </Link> |
|
97 </ItemDefinitionGroup> |
|
98 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> |
|
99 <ClCompile> |
|
100 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
|
101 </ClCompile> |
|
102 <Link> |
|
103 <EnableCOMDATFolding>true</EnableCOMDATFolding> |
|
104 <OptimizeReferences>true</OptimizeReferences> |
|
105 </Link> |
|
106 </ItemDefinitionGroup> |
|
107 <ItemGroup Condition="'$(WindowsPackageType)'!='None' and Exists('Package.appxmanifest')"> |
|
108 <AppxManifest Include="Package.appxmanifest"> |
|
109 <SubType>Designer</SubType> |
|
110 </AppxManifest> |
|
111 </ItemGroup> |
|
112 <ItemGroup> |
|
113 <Manifest Include="app.manifest" /> |
|
114 </ItemGroup> |
|
115 <ItemGroup> |
|
116 <ClInclude Include="..\ui\button.h" /> |
|
117 <ClInclude Include="..\ui\container.h" /> |
|
118 <ClInclude Include="..\ui\display.h" /> |
|
119 <ClInclude Include="..\ui\dnd.h" /> |
|
120 <ClInclude Include="..\ui\entry.h" /> |
|
121 <ClInclude Include="..\ui\graphics.h" /> |
|
122 <ClInclude Include="..\ui\image.h" /> |
|
123 <ClInclude Include="..\ui\menu.h" /> |
|
124 <ClInclude Include="..\ui\properties.h" /> |
|
125 <ClInclude Include="..\ui\range.h" /> |
|
126 <ClInclude Include="..\ui\stock.h" /> |
|
127 <ClInclude Include="..\ui\text.h" /> |
|
128 <ClInclude Include="..\ui\toolbar.h" /> |
|
129 <ClInclude Include="..\ui\toolkit.h" /> |
|
130 <ClInclude Include="..\ui\tree.h" /> |
|
131 <ClInclude Include="..\ui\ui.h" /> |
|
132 <ClInclude Include="..\ui\window.h" /> |
|
133 <ClInclude Include="appmenu.h" /> |
|
134 <ClInclude Include="button.h" /> |
|
135 <ClInclude Include="commandbar.h" /> |
|
136 <ClInclude Include="container.h" /> |
|
137 <ClInclude Include="dnd.h" /> |
|
138 <ClInclude Include="icons.h" /> |
|
139 <ClInclude Include="label.h" /> |
|
140 <ClInclude Include="list.h" /> |
|
141 <ClInclude Include="pch.h" /> |
|
142 <ClInclude Include="App.xaml.h"> |
|
143 <DependentUpon>App.xaml</DependentUpon> |
|
144 </ClInclude> |
|
145 <ClInclude Include="MainWindow.xaml.h"> |
|
146 <DependentUpon>MainWindow.xaml</DependentUpon> |
|
147 </ClInclude> |
|
148 <ClInclude Include="stock.h" /> |
|
149 <ClInclude Include="table.h" /> |
|
150 <ClInclude Include="text.h" /> |
|
151 <ClInclude Include="toolkit.h" /> |
|
152 <ClInclude Include="util.h" /> |
|
153 <ClInclude Include="window.h" /> |
|
154 </ItemGroup> |
|
155 <ItemGroup> |
|
156 <ApplicationDefinition Include="App.xaml" /> |
|
157 <Page Include="MainWindow.xaml" /> |
|
158 </ItemGroup> |
|
159 <ItemGroup> |
|
160 <ClCompile Include="appmenu.cpp" /> |
|
161 <ClCompile Include="button.cpp" /> |
|
162 <ClCompile Include="commandbar.cpp" /> |
|
163 <ClCompile Include="container.cpp" /> |
|
164 <ClCompile Include="dnd.cpp" /> |
|
165 <ClCompile Include="icons.cpp" /> |
|
166 <ClCompile Include="label.cpp" /> |
|
167 <ClCompile Include="list.cpp" /> |
|
168 <ClCompile Include="pch.cpp"> |
|
169 <PrecompiledHeader>Create</PrecompiledHeader> |
|
170 </ClCompile> |
|
171 <ClCompile Include="App.xaml.cpp"> |
|
172 <DependentUpon>App.xaml</DependentUpon> |
|
173 </ClCompile> |
|
174 <ClCompile Include="MainWindow.xaml.cpp"> |
|
175 <DependentUpon>MainWindow.xaml</DependentUpon> |
|
176 </ClCompile> |
|
177 <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" /> |
|
178 <ClCompile Include="stock.cpp" /> |
|
179 <ClCompile Include="table.cpp" /> |
|
180 <ClCompile Include="text.cpp" /> |
|
181 <ClCompile Include="toolkit.cpp" /> |
|
182 <ClCompile Include="util.cpp" /> |
|
183 <ClCompile Include="window.cpp" /> |
|
184 </ItemGroup> |
|
185 <ItemGroup> |
|
186 <Midl Include="App.idl"> |
|
187 <SubType>Code</SubType> |
|
188 <DependentUpon>App.xaml</DependentUpon> |
|
189 </Midl> |
|
190 <Midl Include="MainWindow.idl"> |
|
191 <SubType>Code</SubType> |
|
192 <DependentUpon>MainWindow.xaml</DependentUpon> |
|
193 </Midl> |
|
194 </ItemGroup> |
|
195 <ItemGroup> |
|
196 <Text Include="readme.txt"> |
|
197 <DeploymentContent>false</DeploymentContent> |
|
198 </Text> |
|
199 </ItemGroup> |
|
200 <ItemGroup> |
|
201 <Image Include="Assets\LockScreenLogo.scale-200.png" /> |
|
202 <Image Include="Assets\SplashScreen.scale-200.png" /> |
|
203 <Image Include="Assets\Square150x150Logo.scale-200.png" /> |
|
204 <Image Include="Assets\Square44x44Logo.scale-200.png" /> |
|
205 <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> |
|
206 <Image Include="Assets\StoreLogo.png" /> |
|
207 <Image Include="Assets\Wide310x150Logo.scale-200.png" /> |
|
208 </ItemGroup> |
|
209 <!-- |
|
210 Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging |
|
211 Tools extension to be activated for this project even if the Windows App SDK Nuget |
|
212 package has not yet been restored. |
|
213 --> |
|
214 <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
|
215 <ProjectCapability Include="Msix" /> |
|
216 </ItemGroup> |
|
217 <ItemGroup> |
|
218 <None Include="packages.config" /> |
|
219 </ItemGroup> |
|
220 <ItemGroup> |
|
221 <ProjectReference Include="..\..\make\vs\ucx\ucx.vcxproj"> |
|
222 <Project>{27da0164-3475-43e2-a1a4-a5d07d305749}</Project> |
|
223 </ProjectReference> |
|
224 <ProjectReference Include="..\..\make\vs\uicommon\uicommon.vcxproj"> |
|
225 <Project>{8b88698e-c185-4383-99fe-0c34d6deed2e}</Project> |
|
226 </ProjectReference> |
|
227 </ItemGroup> |
|
228 <!-- |
|
229 Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution |
|
230 Explorer "Package and Publish" context menu entry to be enabled for this project even if |
|
231 the Windows App SDK Nuget package has not yet been restored. |
|
232 --> |
|
233 <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
|
234 <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> |
|
235 </PropertyGroup> |
|
236 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
|
237 <OutDir>$(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\</OutDir> |
|
238 <IntDir>..\..\build\vs\winui\$(Platform)\$(Configuration)\</IntDir> |
|
239 </PropertyGroup> |
|
240 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|
241 <ImportGroup Label="ExtensionTargets"> |
|
242 <Import Project="..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" /> |
|
243 <Import Project="..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.targets')" /> |
|
244 <Import Project="..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.targets')" /> |
|
245 <Import Project="..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> |
|
246 </ImportGroup> |
|
247 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
|
248 <PropertyGroup> |
|
249 <ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText> |
|
250 </PropertyGroup> |
|
251 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.props'))" /> |
|
252 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.220929.3\build\native\Microsoft.Windows.CppWinRT.targets'))" /> |
|
253 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.props'))" /> |
|
254 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.22621.755\build\Microsoft.Windows.SDK.BuildTools.targets'))" /> |
|
255 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.props'))" /> |
|
256 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.3.230602002\build\native\Microsoft.WindowsAppSDK.targets'))" /> |
|
257 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.220914.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> |
|
258 </Target> |
|
259 </Project> |