UNIXworkcode

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.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.props" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.props')" /> 4 <Import Project="..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props')" /> 5 <Import Project="..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.props" Condition="Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.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>true</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;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 92 <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\..\ucx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 93 <LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdc17</LanguageStandard_C> 94 <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">MultiThreadedDebugDLL</RuntimeLibrary> 95 </ClCompile> 96 <Link> 97 <AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">shell32.lib;gdi32.lib;%(AdditionalDependencies)</AdditionalDependencies> 98 </Link> 99 </ItemDefinitionGroup> 100 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> 101 <ClCompile> 102 <PreprocessorDefinitions>DISABLE_XAML_GENERATED_MAIN__;UI_WINUI;UI_WINUI_PCH;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 103 <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\..\ucx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 104 <SDLCheck Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</SDLCheck> 105 <LanguageStandard_C Condition="'$(Configuration)|$(Platform)'=='Release|x64'">stdc17</LanguageStandard_C> 106 </ClCompile> 107 <Link> 108 <EnableCOMDATFolding>true</EnableCOMDATFolding> 109 <OptimizeReferences>true</OptimizeReferences> 110 <AdditionalDependencies Condition="'$(Configuration)|$(Platform)'=='Release|x64'">shell32.lib;gdi32.lib;%(AdditionalDependencies)</AdditionalDependencies> 111 </Link> 112 </ItemDefinitionGroup> 113 <ItemGroup Condition="'$(WindowsPackageType)'!='None' and Exists('Package.appxmanifest')"> 114 <AppxManifest Include="Package.appxmanifest"> 115 <SubType>Designer</SubType> 116 </AppxManifest> 117 </ItemGroup> 118 <ItemGroup> 119 <Manifest Include="app.manifest" /> 120 </ItemGroup> 121 <ItemGroup> 122 <ClInclude Include="..\common\context.h" /> 123 <ClInclude Include="..\common\document.h" /> 124 <ClInclude Include="..\common\menu.h" /> 125 <ClInclude Include="..\common\object.h" /> 126 <ClInclude Include="..\common\properties.h" /> 127 <ClInclude Include="..\common\toolbar.h" /> 128 <ClInclude Include="..\common\types.h" /> 129 <ClInclude Include="..\common\ucx_properties.h" /> 130 <ClInclude Include="..\ui\button.h" /> 131 <ClInclude Include="..\ui\container.h" /> 132 <ClInclude Include="..\ui\display.h" /> 133 <ClInclude Include="..\ui\dnd.h" /> 134 <ClInclude Include="..\ui\entry.h" /> 135 <ClInclude Include="..\ui\graphics.h" /> 136 <ClInclude Include="..\ui\icons.h" /> 137 <ClInclude Include="..\ui\image.h" /> 138 <ClInclude Include="..\ui\menu.h" /> 139 <ClInclude Include="..\ui\properties.h" /> 140 <ClInclude Include="..\ui\range.h" /> 141 <ClInclude Include="..\ui\stock.h" /> 142 <ClInclude Include="..\ui\text.h" /> 143 <ClInclude Include="..\ui\toolbar.h" /> 144 <ClInclude Include="..\ui\toolkit.h" /> 145 <ClInclude Include="..\ui\tree.h" /> 146 <ClInclude Include="..\ui\ui.h" /> 147 <ClInclude Include="..\ui\window.h" /> 148 <ClInclude Include="appmenu.h" /> 149 <ClInclude Include="button.h" /> 150 <ClInclude Include="commandbar.h" /> 151 <ClInclude Include="condvar.h" /> 152 <ClInclude Include="container.h" /> 153 <ClInclude Include="dnd.h" /> 154 <ClInclude Include="icons.h" /> 155 <ClInclude Include="image.h" /> 156 <ClInclude Include="label.h" /> 157 <ClInclude Include="list.h" /> 158 <ClInclude Include="pch.h" /> 159 <ClInclude Include="App.xaml.h"> 160 <DependentUpon>App.xaml</DependentUpon> 161 </ClInclude> 162 <ClInclude Include="MainWindow.xaml.h"> 163 <DependentUpon>MainWindow.xaml</DependentUpon> 164 </ClInclude> 165 <ClInclude Include="stock.h" /> 166 <ClInclude Include="table.h" /> 167 <ClInclude Include="text.h" /> 168 <ClInclude Include="toolkit.h" /> 169 <ClInclude Include="util.h" /> 170 <ClInclude Include="window.h" /> 171 </ItemGroup> 172 <ItemGroup> 173 <ApplicationDefinition Include="App.xaml" /> 174 <Page Include="MainWindow.xaml" /> 175 </ItemGroup> 176 <ItemGroup> 177 <ClCompile Include="..\common\context.c"> 178 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 179 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 180 </ClCompile> 181 <ClCompile Include="..\common\document.c"> 182 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 183 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 184 </ClCompile> 185 <ClCompile Include="..\common\menu.c"> 186 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 187 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 188 </ClCompile> 189 <ClCompile Include="..\common\object.c"> 190 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 191 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 192 </ClCompile> 193 <ClCompile Include="..\common\properties.c"> 194 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 195 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 196 </ClCompile> 197 <ClCompile Include="..\common\toolbar.c"> 198 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 199 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 200 </ClCompile> 201 <ClCompile Include="..\common\types.c"> 202 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 203 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 204 </ClCompile> 205 <ClCompile Include="..\common\ucx_properties.c"> 206 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader> 207 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader> 208 </ClCompile> 209 <ClCompile Include="appmenu.cpp" /> 210 <ClCompile Include="button.cpp" /> 211 <ClCompile Include="commandbar.cpp" /> 212 <ClCompile Include="condvar.cpp" /> 213 <ClCompile Include="container.cpp" /> 214 <ClCompile Include="dnd.cpp" /> 215 <ClCompile Include="icons.cpp" /> 216 <ClCompile Include="image.cpp" /> 217 <ClCompile Include="label.cpp" /> 218 <ClCompile Include="list.cpp" /> 219 <ClCompile Include="pch.cpp"> 220 <PrecompiledHeader>Create</PrecompiledHeader> 221 </ClCompile> 222 <ClCompile Include="App.xaml.cpp"> 223 <DependentUpon>App.xaml</DependentUpon> 224 </ClCompile> 225 <ClCompile Include="MainWindow.xaml.cpp"> 226 <DependentUpon>MainWindow.xaml</DependentUpon> 227 </ClCompile> 228 <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" /> 229 <ClCompile Include="stock.cpp" /> 230 <ClCompile Include="table.cpp" /> 231 <ClCompile Include="text.cpp" /> 232 <ClCompile Include="toolkit.cpp" /> 233 <ClCompile Include="util.cpp" /> 234 <ClCompile Include="window.cpp" /> 235 </ItemGroup> 236 <ItemGroup> 237 <Midl Include="App.idl"> 238 <SubType>Code</SubType> 239 <DependentUpon>App.xaml</DependentUpon> 240 </Midl> 241 <Midl Include="MainWindow.idl"> 242 <SubType>Code</SubType> 243 <DependentUpon>MainWindow.xaml</DependentUpon> 244 </Midl> 245 </ItemGroup> 246 <ItemGroup> 247 <Text Include="readme.txt"> 248 <DeploymentContent>false</DeploymentContent> 249 </Text> 250 </ItemGroup> 251 <ItemGroup> 252 <Image Include="Assets\LockScreenLogo.scale-200.png" /> 253 <Image Include="Assets\SplashScreen.scale-200.png" /> 254 <Image Include="Assets\Square150x150Logo.scale-200.png" /> 255 <Image Include="Assets\Square44x44Logo.scale-200.png" /> 256 <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> 257 <Image Include="Assets\StoreLogo.png" /> 258 <Image Include="Assets\Wide310x150Logo.scale-200.png" /> 259 </ItemGroup> 260 <!-- 261 Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging 262 Tools extension to be activated for this project even if the Windows App SDK Nuget 263 package has not yet been restored. 264 --> 265 <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> 266 <ProjectCapability Include="Msix" /> 267 </ItemGroup> 268 <ItemGroup> 269 <None Include="packages.config" /> 270 </ItemGroup> 271 <ItemGroup> 272 <ProjectReference Include="..\..\make\vs\ucx\ucx.vcxproj"> 273 <Project>{27da0164-3475-43e2-a1a4-a5d07d305749}</Project> 274 </ProjectReference> 275 </ItemGroup> 276 <!-- 277 Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution 278 Explorer "Package and Publish" context menu entry to be enabled for this project even if 279 the Windows App SDK Nuget package has not yet been restored. 280 --> 281 <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> 282 <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> 283 </PropertyGroup> 284 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 285 <OutDir>$(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\</OutDir> 286 <IntDir>..\..\build\vs\winui\$(Platform)\$(Configuration)\</IntDir> 287 </PropertyGroup> 288 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 289 <OutDir>$(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\</OutDir> 290 <IntDir>..\..\build\vs\winui\$(Platform)\$(Configuration)\</IntDir> 291 </PropertyGroup> 292 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 293 <ImportGroup Label="ExtensionTargets"> 294 <Import Project="..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.targets')" /> 295 <Import Project="..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets')" /> 296 <Import Project="..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.240803.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.240803.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> 297 <Import Project="..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.targets')" /> 298 </ImportGroup> 299 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 300 <PropertyGroup> 301 <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> 302 </PropertyGroup> 303 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.props'))" /> 304 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.WindowsAppSDK.1.5.241001000\build\native\Microsoft.WindowsAppSDK.targets'))" /> 305 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props'))" /> 306 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets'))" /> 307 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.240803.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.ImplementationLibrary.1.0.240803.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> 308 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.props'))" /> 309 <Error Condition="!Exists('..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\make\vs\packages\Microsoft.Windows.SDK.BuildTools.10.0.26100.1742\build\Microsoft.Windows.SDK.BuildTools.targets'))" /> 310 </Target> 311 </Project>