Sun, 01 Oct 2023 22:34:48 +0200
add frame container (WinUI3)
| 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> | |
|
177
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
30 | <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> |
|
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
31 | <WindowsPackageType>None</WindowsPackageType> |
|
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
32 | <AppxPackage>false</AppxPackage> |
| 173 | 33 | </PropertyGroup> |
| 34 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
| 35 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
| 36 | <ConfigurationType>Application</ConfigurationType> | |
| 37 | <UseDebugLibraries>true</UseDebugLibraries> | |
| 38 | <PlatformToolset>v143</PlatformToolset> | |
| 39 | <CharacterSet>Unicode</CharacterSet> | |
| 40 | </PropertyGroup> | |
| 41 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
| 42 | <ConfigurationType>Application</ConfigurationType> | |
| 43 | <UseDebugLibraries>false</UseDebugLibraries> | |
| 44 | <PlatformToolset>v143</PlatformToolset> | |
| 45 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
| 46 | <CharacterSet>Unicode</CharacterSet> | |
| 47 | </PropertyGroup> | |
| 48 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | |
| 49 | <ConfigurationType>Application</ConfigurationType> | |
| 50 | <UseDebugLibraries>true</UseDebugLibraries> | |
| 51 | <PlatformToolset>v143</PlatformToolset> | |
| 52 | <CharacterSet>Unicode</CharacterSet> | |
| 53 | </PropertyGroup> | |
| 54 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | |
| 55 | <ConfigurationType>Application</ConfigurationType> | |
| 56 | <UseDebugLibraries>false</UseDebugLibraries> | |
| 57 | <PlatformToolset>v143</PlatformToolset> | |
| 58 | <WholeProgramOptimization>true</WholeProgramOptimization> | |
| 59 | <CharacterSet>Unicode</CharacterSet> | |
| 60 | </PropertyGroup> | |
| 61 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
| 62 | <ImportGroup Label="ExtensionSettings"> | |
| 63 | </ImportGroup> | |
| 64 | <ImportGroup Label="Shared"> | |
| 65 | </ImportGroup> | |
| 66 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|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)'=='Release|Win32'"> | |
| 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)'=='Debug|x64'"> | |
| 73 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
| 74 | </ImportGroup> | |
| 75 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
| 76 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
| 77 | </ImportGroup> | |
| 78 | <PropertyGroup Label="UserMacros" /> | |
| 79 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
| 80 | <OutDir>$(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\</OutDir> | |
| 81 | <IntDir>..\..\..\build\vs\testapp\$(Platform)\$(Configuration)\</IntDir> | |
| 82 | </PropertyGroup> | |
| 83 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
| 84 | <ClCompile> | |
| 85 | <WarningLevel>Level3</WarningLevel> | |
| 86 | <SDLCheck>true</SDLCheck> | |
| 87 | <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 88 | <ConformanceMode>true</ConformanceMode> | |
| 89 | </ClCompile> | |
| 90 | <Link> | |
| 91 | <SubSystem>Console</SubSystem> | |
| 92 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
| 93 | </Link> | |
| 94 | </ItemDefinitionGroup> | |
| 95 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
| 96 | <ClCompile> | |
| 97 | <WarningLevel>Level3</WarningLevel> | |
| 98 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
| 99 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
| 100 | <SDLCheck>true</SDLCheck> | |
| 101 | <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 102 | <ConformanceMode>true</ConformanceMode> | |
| 103 | </ClCompile> | |
| 104 | <Link> | |
| 105 | <SubSystem>Console</SubSystem> | |
| 106 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
| 107 | <OptimizeReferences>true</OptimizeReferences> | |
| 108 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
| 109 | </Link> | |
| 110 | </ItemDefinitionGroup> | |
| 111 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | |
| 112 | <ClCompile> | |
| 113 | <WarningLevel>Level3</WarningLevel> | |
| 114 | <SDLCheck>true</SDLCheck> | |
| 115 | <PreprocessorDefinitions>_DEBUG;_CONSOLE;UI_WINUI;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 116 | <ConformanceMode>true</ConformanceMode> | |
|
177
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
117 | <AdditionalIncludeDirectories>C:\Users\Olaf\Projekte\toolkit\ui;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
| 173 | 118 | </ClCompile> |
| 119 | <Link> | |
|
177
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
120 | <SubSystem>Windows</SubSystem> |
| 173 | 121 | <GenerateDebugInformation>true</GenerateDebugInformation> |
| 122 | </Link> | |
| 123 | </ItemDefinitionGroup> | |
| 124 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | |
| 125 | <ClCompile> | |
| 126 | <WarningLevel>Level3</WarningLevel> | |
| 127 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
| 128 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
| 129 | <SDLCheck>true</SDLCheck> | |
| 130 | <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 131 | <ConformanceMode>true</ConformanceMode> | |
| 132 | </ClCompile> | |
| 133 | <Link> | |
| 134 | <SubSystem>Console</SubSystem> | |
| 135 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | |
| 136 | <OptimizeReferences>true</OptimizeReferences> | |
| 137 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
| 138 | </Link> | |
| 139 | </ItemDefinitionGroup> | |
| 140 | <ItemGroup> | |
| 141 | <ClCompile Include="main.c" /> | |
| 142 | </ItemGroup> | |
| 143 | <ItemGroup> | |
| 144 | <None Include="packages.config" /> | |
| 145 | </ItemGroup> | |
|
177
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
146 | <ItemGroup> |
|
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
147 | <ProjectReference Include="..\..\..\ui\winui\winui.vcxproj"> |
|
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
148 | <Project>{04d5ee2c-6076-4c7c-8b70-b0f6d602ff55}</Project> |
|
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
149 | </ProjectReference> |
|
179
34f4d78647be
add ui common to vs build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
177
diff
changeset
|
150 | <ProjectReference Include="..\ucx\ucx.vcxproj"> |
|
34f4d78647be
add ui common to vs build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
177
diff
changeset
|
151 | <Project>{27da0164-3475-43e2-a1a4-a5d07d305749}</Project> |
|
34f4d78647be
add ui common to vs build system
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
177
diff
changeset
|
152 | </ProjectReference> |
|
177
e79a60b3a7cb
minimal working winui app
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
173
diff
changeset
|
153 | </ItemGroup> |
| 173 | 154 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 155 | <ImportGroup Label="ExtensionTargets"> | |
| 156 | <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')" /> | |
| 157 | <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')" /> | |
| 158 | <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')" /> | |
|
193
74c688cc1839
add frame container (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
179
diff
changeset
|
159 | <Import Project="..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> |
| 173 | 160 | </ImportGroup> |
| 161 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |
| 162 | <PropertyGroup> | |
| 163 | <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> | |
| 164 | </PropertyGroup> | |
| 165 | <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'))" /> | |
| 166 | <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'))" /> | |
| 167 | <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'))" /> | |
| 168 | <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'))" /> | |
| 169 | <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'))" /> | |
| 170 | <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'))" /> | |
|
193
74c688cc1839
add frame container (WinUI3)
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
179
diff
changeset
|
171 | <Error Condition="!Exists('..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.ImplementationLibrary.1.0.230824.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> |
| 173 | 172 | </Target> |
| 173 | </Project> |