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

Allow setting compiler option on the command line #1397

Open
quintesse opened this issue Jul 6, 2022 · 0 comments
Open

Allow setting compiler option on the command line #1397

quintesse opened this issue Jul 6, 2022 · 0 comments
Labels
ideas Some idea/suggestion around jbang behavior/feature set

Comments

@quintesse
Copy link
Contributor

We have a --java-options but no --javac-options. Nor do we have a way to pass options to the native-image compiler. We should probably make that possible.

I would suggest to use --compile-options instead of --javac-options so we can use them for Kotline and Groovy as well as any future compilers.

And for native we could just use --native-options I guess.

@quintesse quintesse added the ideas Some idea/suggestion around jbang behavior/feature set label Jul 6, 2022
quintesse added a commit to maxandersen/jbang that referenced this issue Oct 20, 2022
These options will be passed directly to the compiler.

Fixes jbangdev#1397
quintesse added a commit to maxandersen/jbang that referenced this issue Oct 20, 2022
These options will be passed directly to the compiler.

Fixes jbangdev#1397
quintesse added a commit to maxandersen/jbang that referenced this issue Oct 20, 2022
These options will be passed directly to the compiler.

Fixes jbangdev#1397
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ideas Some idea/suggestion around jbang behavior/feature set
Projects
None yet
Development

No branches or pull requests

1 participant