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

Add compiler option for ignoring specific symbols #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uki-dev
Copy link

@uki-dev uki-dev commented Dec 1, 2021

It is essential to have the ability to preserve certain symbols from renaming when pairing GLSLX with external frameworks in which specific symbols are static.

This is addressed by adding an additional variable ignoredSymbols List<string> to CompilerOptions which is checked against when renaming symbols & generating new symbol names.

Ignored symbols can be passed via the command line using the --ignored-symbols argument which accepts a JSON formatted array for example; --ignored-symbols='["foo", "bar"]'

Add new line

Fix parsing of `--ignored-symbols` argument
@uki-dev
Copy link
Author

uki-dev commented Dec 2, 2021

@evanw pinging as unable to assign you as a reviewer.

@joscha
Copy link

joscha commented Mar 9, 2022

@evanw any chance to get your eyes on this and some feedback on how to improve/change to get this merged, please?

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