On Mon, 3 Jan 2022 14:42:13 -0500 Trylz wrote:
T> I am now able to generate UWP projects from Cmake. Next is to make the
T> minimal sample compile and run.
T> Unfortunately when I generate the *wxUWP *projects, *wxUSE_GUI *is
T> somewhat defined to 0 instead of 1 like the *wxMSW *default.
T> Does somebody have an idea why?
Sorry, I don't really know much about CMake, so I don't know what happens
here.
T> Here the branch:
T>
https://github.com/Cloyz2021/wxWidgets/tree/wxUWP
T>
T> Installation steps and port status:
T>
https://github.com/Cloyz2021/wxWidgets/blob/wxUWP/docs/uwp/install.md
T>
T> Diff with master:
T> Comparing wxWidgets:master...Cloyz2021:wxUWP · wxWidgets/wxWidgets · GitHub
T> <
https://github.com/wxWidgets/wxWidgets/compare/master...Cloyz2021:wxUWP?expand=1>
Sorry, but there are tons of changes here which don't seem to make much
sense, e.g. I'm almost sure that old (< 2015? or maybe even later?) MSVC
versions can't build UWP applications, so why are there all these changes
to .vcproj files used with them?
Also, what are the MSBuild projects in build/uwp? Are they created by
CMake or manually?
In fact, a related question I have is what is the relationship between
wxUWP and wxMSW? None at all? Or will wxUWP reuse some part of wxMSW? If
so, how will it work, at architectural level?
T> I will do the most I can today(I will manually set *wxUSE_GUI *to
T> continue). Should I submit a PR by the end of day?
It would be nice to have something at least minimally working, i.e. at
least showing a window (== wxFrame) would be great. Right now both of
src/uwp/{frame.cpp,window.cpp} are basically empty, so it doesn't look like
we're there quite yet...
But if you'd like to make a PR, why not, but please remove the unnecessary
changes to all of the build files in this case.
TIA!
VZ