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

CMake: Topsort object library dependencies #7637

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

glebm
Copy link
Collaborator

@glebm glebm commented Jan 10, 2025

Collects transitive object library dependencies in the topological order and adds cycle detection.

Now transitive dependencies are actually all linked.

@glebm glebm enabled auto-merge (rebase) January 10, 2025 17:04
@glebm glebm marked this pull request as draft January 10, 2025 17:07
auto-merge was automatically disabled January 10, 2025 17:07

Pull request was converted to draft

@glebm glebm marked this pull request as ready for review January 10, 2025 17:24
@glebm glebm marked this pull request as draft January 10, 2025 17:26
glebm added 2 commits January 10, 2025 17:30
Collects transitive object library dependencies in the topological order
and adds cycle detection.

Now transitive dependencies are actually all linked.
We still have some issues preventing even data_file_test from depending
on the world:

1. `options` transitively depends on everything because of the change
   handlers.
2. `sound` depends on `monster` via `sgbSaveSoundOn` and
   `monster` depends on `sound` via `gbSoundOn`.
@glebm glebm marked this pull request as ready for review January 10, 2025 17:36
@glebm glebm enabled auto-merge (rebase) January 10, 2025 17:36
@glebm glebm merged commit 651c70f into diasurgical:master Jan 11, 2025
23 checks passed
@glebm glebm deleted the object-libraries branch January 11, 2025 12:04
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.

2 participants