diff options
author | Sven Gothel <[email protected]> | 2023-06-18 19:55:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-06-18 19:55:28 +0200 |
commit | b939d0e0555b0fe0e3609d6d867941b9aacf0e6f (patch) | |
tree | 3bdcfa83952df92bc6b78e24325f855161378d6e /src/java/com/jogamp/gluegen/GlueGen.java | |
parent | ec4bce202d434cd302f3b654b83169c641b8d03c (diff) |
CPP Enable Pragma Once: Remove cli '--enablePragmaOnce' option as it is enabled by default
Diffstat (limited to 'src/java/com/jogamp/gluegen/GlueGen.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/GlueGen.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java index edfe360..2370db3 100644 --- a/src/java/com/jogamp/gluegen/GlueGen.java +++ b/src/java/com/jogamp/gluegen/GlueGen.java @@ -411,8 +411,6 @@ public class GlueGen implements GlueEmitterControls { debug=true; } else if (arg.equals("--dumpCPP")) { copyCPPOutput2Stderr=true; - } else if (arg.equals("--enablePragmaOnce")) { - enablePragmaOnce=true; } else if (arg.equals("--disablePragmaOnce")) { enablePragmaOnce=false; } else if (arg.equals("--preserveGeneratedCPP")) { @@ -466,8 +464,7 @@ public class GlueGen implements GlueEmitterControls { out.println("-Cjava-emitter.cfg."); out.println(" --debug enables debug mode"); out.println(" --dumpCPP directs CPP to dump all output to stderr as well"); - out.println(" --enablePragmaOnce allow handle of #pragma once directive during parsing (default)"); - out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing"); + out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing (enabled by default)"); out.println(" --preserveGeneratedCPP preserve generated CPP file during generation (File it's already preserved by debug mode)"); exit(1); } |