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

build: Complete migration to CMake (legacy build system removal) #1800

Merged
merged 13 commits into from
Feb 6, 2025

Conversation

jcm93
Copy link
Contributor

@jcm93 jcm93 commented Jan 29, 2025

Completes the process of migrating to ares's new CMake-based build system by removing the legacy build system and its dependencies.

Removed elements include:

  • Copies of source code and shaders in thirdparty that are now instead dynamically vendored by ares-deps
  • The legacy makefiles themselves
  • sourcery-generated resource files
  • the zconf.h header which is dynamically renamed under CMake but which the legacy build depends on
  • Various ruby include statements that vary between the legacy build and CMake

Additionally, we now use CMake file configuration to define application version and copyright information dynamically for each build. We now dynamically configure:

  • ares/ares.cpp, which contains version, copyright, and website information.
  • macOS .plist files containing similar details.

This PR also adds librashader's headers back into the source tree by themselves (without the remainder of the librashader repository); this is done to facilitate an easier build process on Linux, where we do not want to dynamically fetch/download anything that is required to build ares.

This PR is split into multiple commits for several reasons; it renames files in separate commits to preserve history; several commits also have diffs that are infeasible to view.

@jcm93 jcm93 force-pushed the remove-legacy-build-redux branch 3 times, most recently from ce6ca7b to 0eb325a Compare February 3, 2025 16:22
@jcm93 jcm93 force-pushed the remove-legacy-build-redux branch 4 times, most recently from b0f6335 to 736c503 Compare February 5, 2025 22:32
@jcm93 jcm93 force-pushed the remove-legacy-build-redux branch 2 times, most recently from f146fa2 to 0ed4332 Compare February 5, 2025 22:44
@jcm93 jcm93 force-pushed the remove-legacy-build-redux branch from 0ed4332 to 0560c86 Compare February 6, 2025 01:38
@jcm93 jcm93 marked this pull request as ready for review February 6, 2025 01:39
@LukeUsher LukeUsher merged commit 1323a62 into ares-emulator:master Feb 6, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants