Switch to Meson instead of GNUmakefile#665
Conversation
Fix builds hopefully Remove outdated docs
Remove old make files
|
I've debugged the Windows sound issue - requires fixing pcaudiolib due to SDL3 change: |
|
OK, after some fiddling around, I've got the build working. A couple of points:
|
From what I have found, 1 is fixed by adding this: https://mesonbuild.com/Reference-manual_functions_executable.html#executable_win_subsystem like this in src/meson.build: oolite_bin = executable( I just checked in that fix but haven't had a chance to test yet. Maybe that will also fix the icon? |
|
The |
|
@kanthoney Does what I suggested here help? #665 (comment). If not, I'll have to investigate what has happened. |
Point 1 appears to be fixed. Point 2 remains. |
|
@phkb I had forgotten to compile and add the OOResourcesWin.rc file which adds the icon on Windows. Point 2 should now be fixed. |
|
Confirmed icon is now being applied to the exe. With the Windows installer options, they work OK, but the file names are missing the version number. For instance, for the deployment build, the filename is "OoliteInstall--win.exe", and the test release is "OoliteInstall--win-text.exe" |
Where do you see that? When I download one of the Windows ones from here and open the zip, I see a version number: |
|
For v1.92, I ran the NSIS script file manually in NSIS, and then manually named the output file. I haven't built the Windows packages via the "make" process locally before. |
|
It's also not a showstopper. The files themselves all work fine. If it came to an official release, and we had to rely on locally built files, it's really no effort to rename them. I just thought it was odd the version number wasn't already there, when it clearly is supposed to be there. |
|
@oocube Do you know if version numbers work for local builds on Windows in master? |
I never tested local builds, let alone that payware operating system. Is the version number missing everywhere or just on the filename? |
|
Just on the filename |
Then this is a hint that version calculation in the background still works but is communicated wrongly to NSIS. |
|
@mcarans Can confirm that running the |
|
@kanthoney Thanks for testing setup.cmd. I have made a ticket to provide an upgrade step for existing MSYS2 installs. #668 |
|
@oocube @phkb @kanthoney Just tested Linux appimage local build and it has version. It's a Windows specific issue. I've made a ticket for it: #669. I suspect it preexists this PR, so if you're all happy with this, please can someone approve it so I can merge. |
oocube
left a comment
There was a problem hiding this comment.
I tested oolite_dev-1.93.1-PullRequest665.204-x86_64.AppImage and it's looking good.



Meson (using ninja backend) is faster
Meson integrates with IDEs (tested with CLion)
It can generate XCode projects apparently
No need to source GNUstep.sh with all its obscure magic - all required flags are in the build
Top level Makefile remains (although refactored and calls meson)
Also added to manifest:
Fixes #577