Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify all platforms with CMake #923

Merged
merged 10 commits into from
Sep 4, 2024
Merged

Unify all platforms with CMake #923

merged 10 commits into from
Sep 4, 2024

Conversation

dsvensson
Copy link
Collaborator

@dsvensson dsvensson commented Aug 7, 2024

  • Same build system as mvdsv and ktx, polished IDE integrations.
  • Same build system on all platforms. No more XML diffs for Visual Studio project.
  • Generation of Xcode and Visual Studio projects that work with profiler etc.
  • Cross-compilation with mingw for i686/x64, including building of all deps.
  • Static builds first class on Windows/Linux/macOS, no need to consider what versions are in distros.
  • Sandboxed client on macOS, no risk of leaking filesystem content due to exploits.
  • A much more capable build system that makes it easier to deal with future improvements.

@dsvensson dsvensson marked this pull request as draft August 7, 2024 14:34
@dsvensson dsvensson force-pushed the cmake branch 2 times, most recently from fcdcace to c0d55b7 Compare August 7, 2024 20:07
src/vid.h Outdated Show resolved Hide resolved
src/vid_sdl2.c Outdated Show resolved Hide resolved
@dsvensson
Copy link
Collaborator Author

dsvensson commented Aug 21, 2024

@tcsabina @qqshka @ciscon This is mostly done by now except for updating CI, old CI still uploading stuff. Maybe some readme stuff left, maybe some bikeshedding here and there, probably some stuff I'm blind to. Read it, try it so we can get it merged. Could also merge as is and update CI after merge as this PR will not delete any of the old ways of building.

@dsvensson dsvensson marked this pull request as ready for review August 21, 2024 13:32
The reasoning for the recent changes were based on non-macOS users
questions in the helpdesk channel on Discord. On macOS the OS deals
with the gamma changes very smoothly so this isn't really an issue.
Switch raw input to GameController which is made to work with
sandboxed applications.

When the application starts, the user is prompted with a file
dialog that allows selection of what basedir to use. This will
be stored in the application preferences for future launches.

When the directory becomes unavailable, or a new version is
installed, the user will be prompted with the file dialog again.
* Build fixes for PCRE2 on macOS.
* New minor versions of SDL2, zlib.
* Makes SDL_DBUS optional on Linux, cutting 85% build time.
@dsvensson dsvensson merged commit c776593 into QW-Group:master Sep 4, 2024
4 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant