--- a/ui/winui/winui.vcxproj Tue May 23 11:11:28 2023 +0200 +++ b/ui/winui/winui.vcxproj Tue May 23 11:42:39 2023 +0200 @@ -112,9 +112,12 @@ <ClCompile> <WarningLevel>Level3</WarningLevel> <SDLCheck>true</SDLCheck> - <PreprocessorDefinitions>_DEBUG;_CONSOLE;UI_WINUI;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>_DEBUG;_CONSOLE;UI_WINUI;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ConformanceMode>true</ConformanceMode> - <LanguageStandard_C>stdc11</LanguageStandard_C> + <LanguageStandard_C>stdc17</LanguageStandard_C> + <AdditionalIncludeDirectories>$(SolutionDir)..\..\ucx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalOptions> + </AdditionalOptions> </ClCompile> <Link> <SubSystem>Console</SubSystem> @@ -138,6 +141,13 @@ </Link> </ItemDefinitionGroup> <ItemGroup> + <ClCompile Include="..\common\context.c" /> + <ClCompile Include="..\common\document.c" /> + <ClCompile Include="..\common\menu.c" /> + <ClCompile Include="..\common\object.c" /> + <ClCompile Include="..\common\properties.c" /> + <ClCompile Include="..\common\types.c" /> + <ClCompile Include="..\common\ucx_properties.c" /> <ClCompile Include="toolkit.cpp" /> <ClCompile Include="window.cpp" /> </ItemGroup> @@ -145,9 +155,21 @@ <None Include="packages.config" /> </ItemGroup> <ItemGroup> + <ClInclude Include="..\common\context.h" /> + <ClInclude Include="..\common\document.h" /> + <ClInclude Include="..\common\menu.h" /> + <ClInclude Include="..\common\object.h" /> + <ClInclude Include="..\common\properties.h" /> + <ClInclude Include="..\common\types.h" /> + <ClInclude Include="..\common\ucx_properties.h" /> <ClInclude Include="toolkit.h" /> <ClInclude Include="window.h" /> </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\make\vs\ucx\ucx.vcxproj"> + <Project>{27da0164-3475-43e2-a1a4-a5d07d305749}</Project> + </ProjectReference> + </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> <Import Project="..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\make\vs\packages\Microsoft.Windows.CppWinRT.2.0.230225.1\build\native\Microsoft.Windows.CppWinRT.targets')" />