-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Fix: [CMake] Don't include regression AIs in bundles #9068
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested changes are the other possible solution.
I personally prefer this version as it gets a clean install of ai
and game
dirs from an unclean checkout.
Which version do you mean by "this version" ? I don't particularly mind either way, though working well from an unclean checkout is a positive |
"this version" is the install from build dir with a regex to remove regression AI :) |
Motivation / Problem
In #8906, I though it was a smart move to install script compat files from build dir. But I was forgetting regression AIs were also in this directory. And they ended up in bundles.
Description
This is a revert of the install related changes I made in #8906.
I then excluded any
CMakeLists.txt
from installation.I tried another option, using build dir as install source, but the regex to filter AIs subdirs was way harder to read (I'll show it in a suggestion comment).
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.