# HG changeset patch # User Olaf Wintermann # Date 1681585605 -7200 # Node ID 809581724cc71dfa31b66766761e04a10b0afffe # Parent 706080c30af63680db8986da97097106a2921cf5 add VS project diff -r 706080c30af6 -r 809581724cc7 .hgignore --- a/.hgignore Sat Apr 15 15:45:42 2023 +0200 +++ b/.hgignore Sat Apr 15 21:06:45 2023 +0200 @@ -1,6 +1,10 @@ relre:^build/.*$ relre:^config.mk$ relre:^core$ +relre:^make/vs/.vs/.* +relre:^make/vs/packages/.* +relre:^make/vs/testapp/testapp\.vcxproj\.user +relre:^ui/winui/winui\.vcxproj\.user relre:^ui/wpf/UIcore/obj relre:^ui/wpf/UIwrapper/.vs relre:^ui/wpf/UIwrapper/UIwrapper.VC diff -r 706080c30af6 -r 809581724cc7 make/vs/testapp/main.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/vs/testapp/main.c Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,6 @@ +#include + +int main(int argc, char** argv) { + printf("hello world!\n"); + return 0; +} diff -r 706080c30af6 -r 809581724cc7 make/vs/testapp/packages.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/vs/testapp/packages.config Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff -r 706080c30af6 -r 809581724cc7 make/vs/testapp/testapp.vcxproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/vs/testapp/testapp.vcxproj Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,159 @@ + + + + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {3541f08b-e6cc-4c23-a0d3-51983aab33c6} + testapp + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\ + ..\..\..\build\vs\testapp\$(Platform)\$(Configuration)\ + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;UI_WINUI;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + + + + + 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}. + + + + + + + + + \ No newline at end of file diff -r 706080c30af6 -r 809581724cc7 make/vs/testapp/testapp.vcxproj.filters --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/vs/testapp/testapp.vcxproj.filters Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,25 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Quelldateien + + + + + + \ No newline at end of file diff -r 706080c30af6 -r 809581724cc7 make/vs/toolkit.sln --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/vs/toolkit.sln Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,41 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.33530.505 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testapp", "testapp\testapp.vcxproj", "{3541F08B-E6CC-4C23-A0D3-51983AAB33C6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winui", "..\..\ui\winui\winui.vcxproj", "{04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Debug|x64.ActiveCfg = Debug|x64 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Debug|x64.Build.0 = Debug|x64 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Debug|x86.ActiveCfg = Debug|Win32 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Debug|x86.Build.0 = Debug|Win32 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Release|x64.ActiveCfg = Release|x64 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Release|x64.Build.0 = Release|x64 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Release|x86.ActiveCfg = Release|Win32 + {3541F08B-E6CC-4C23-A0D3-51983AAB33C6}.Release|x86.Build.0 = Release|Win32 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Debug|x64.ActiveCfg = Debug|x64 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Debug|x64.Build.0 = Debug|x64 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Debug|x86.ActiveCfg = Debug|Win32 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Debug|x86.Build.0 = Debug|Win32 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Release|x64.ActiveCfg = Release|x64 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Release|x64.Build.0 = Release|x64 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Release|x86.ActiveCfg = Release|Win32 + {04D5EE2C-6076-4C7C-8B70-B0F6D602FF55}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {141CA624-F556-4BE7-9218-8D6EEAB95C95} + EndGlobalSection +EndGlobal diff -r 706080c30af6 -r 809581724cc7 ui/ui/toolkit.h --- a/ui/ui/toolkit.h Sat Apr 15 15:45:42 2023 +0200 +++ b/ui/ui/toolkit.h Sat Apr 15 21:06:45 2023 +0200 @@ -67,7 +67,7 @@ #define UIMENU void* #endif -#elif UI_WPF +#elif UI_WINUI #define UIWIDGET void* #define UIMENU void* #endif diff -r 706080c30af6 -r 809581724cc7 ui/winui/packages.config --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/winui/packages.config Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff -r 706080c30af6 -r 809581724cc7 ui/winui/toolkit.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/winui/toolkit.cpp Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,5 @@ +#include "../ui/toolkit.h" + +int testfunc() { + return 123; +} diff -r 706080c30af6 -r 809581724cc7 ui/winui/winui.vcxproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/winui/winui.vcxproj Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,160 @@ + + + + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {04d5ee2c-6076-4c7c-8b70-b0f6d602ff55} + winui + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + StaticLibrary + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)..\..\build\vs\$(Platform)\$(Configuration)\ + ..\..\build\vs\winui\$(Platform)\$(Configuration)\ + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;UI_WINUI;%(PreprocessorDefinitions) + true + stdc11 + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + + + + + 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}. + + + + + + + + + \ No newline at end of file diff -r 706080c30af6 -r 809581724cc7 ui/winui/winui.vcxproj.filters --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/winui/winui.vcxproj.filters Sat Apr 15 21:06:45 2023 +0200 @@ -0,0 +1,25 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Quelldateien + + + + + + \ No newline at end of file