On Fri, 11 Nov 2022 15:30:27 +0100 Eric Jensen wrote:
EJ> I just noticed that in the latest wx version, all samples except the
EJ> "minimal" don't come with VS solution files any longer.
I'm aware of this and would like to find some solution to provide MSBuild
(.vcxproj) projects for them. Unfortunately so far I haven't been able to
find any really satisfactory solution. See the thread starting at
https://groups.google.com/g/wx-dev/c/XSFIlZ85fG8/m/LfOJ249GAgAJ
for the discussion so far.
EJ> I assume everyone is supposed to build them themselves using cmake?
This is one possibility. I don't like it very much, but the whole world is
standardizing on CMake, so maybe we just need to accept it and live with
it.
Another possibility is to use some meta-build system to generate them.
Unfortunately I don't think there is anything that would work for us out of
the box. In principle, all of bakefile 1.x (which is, however, unmaintained
and still not even ported to Python 3), premake, meson, or xmake (see
https://groups.google.com/g/wx-dev/c/XSFIlZ85fG8/m/rYCWRAEGAgAJ) should be
able to generate the relatively simple projects for the samples, but there
are various problems with all of them. The real solution is probably to
spend a week-end (or a week...) making one of them work for us.
Finally, there is also a possibility to write some bespoke script to just
generate the projects we want for the samples. This could turn out to be
simpler than working with an existing use system because we only need to
target this one specific scenario. But, again, somebody needs to actually
do it and I just couldn't find any time for this so far.
EJ> If you can provide VS solution files for the minimal sample, why not
EJ> for the other samples? Or do you have to maintain them by hand now,
EJ> and therefore do it only for the "minimal" sample?
Yes. Maintaining all the projects by hand is really not an option.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/