-
Notifications
You must be signed in to change notification settings - Fork 550
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
Add basic support for response files #378
Conversation
Credit to https://github.com/tmiasko/shell-words for the basic algorithm
I just realized Windows is completely broken because of |
@Jake-Shadle You may want to take a look at #192 for correct MSVC response file handling. Unfortunately, that PR never had much attention from the maintainers and was left to rot. Hopefully that doesn't happen here as well. |
Damn, I could have sworn I searched for issues/PRs related to this, but maybe I forgot. Will take a look when I can! |
Currently, the gcc and clang path will attempt to use response files (@) if there are no quotes inside the file, and the MSVC path will just bail immediately, this PR attempts to provide a best effort parsing of response files. I am fairly(ish) confident of the gcc/clang part, as I was able to compile the entirety of UE4, which uses response files almost exclusively, but I'm less confident of the MSVC one because...Windows gonna Windows.